SWILIB API (X75)    
Loading...
Searching...
No Matches
explorer.h File Reference
#include "base.h"
#include "wstring.h"

Go to the source code of this file.

Data Structures

struct  NATIVE_EXPLORER_ITEM
 Item structure of the NativeExplorer. More...
 
struct  NativeExplorerData
 NativeExplorer options. More...
 
struct  REGEXPLEXT
 Extension registration structure. More...
 
struct  REGEXPLEXT_ARM_NEW
 Native Explorer extension entry returned by get_regextpnt_by_uid on SG and X75. More...
 

Typedefs

typedef enum ExplorerTransferStates ExplorerTransferStates
 
typedef struct NATIVE_EXPLORER_ITEM NATIVE_EXPLORER_ITEM
 
typedef struct NativeExplorerData NativeExplorerData
 
typedef struct REGEXPLEXT REGEXPLEXT
 
typedef struct REGEXPLEXT_ARM_NEW REGEXPLEXT_ARM_NEW
 
typedef struct REGEXPLEXT_ARM_NEW TREGEXPLEXT
 

Enumerations

enum  ExplorerTransferStates {
  EXPLORER_TRANSFER_STATE_STOP = 1 ,
  EXPLORER_TRANSFER_STATE_RUNNING = 2
}
 
enum  NativeExplorerMode {
  NATIVE_EXPLORER_MODE_DEFAULT = 0x00 ,
  NATIVE_EXPLORER_MODE_SELECT = 0x01 ,
  NATIVE_EXPLORER_MODE_COPY = 0x09 ,
  NATIVE_EXPLORER_MODE_MOVE = 0x0B
}
 Mode of the NativeExplorer. More...
 

Functions

void RegExplorerExt (const REGEXPLEXT *ext)
 Register own extension in the NativeExplorer.
 
int UnRegExplorerExt (const REGEXPLEXT *ext)
 Unregister extension from the NativeExplorer.
 
void * EXT_TOP (void)
 Get a pointer to the explorer extensions.
 
TREGEXPLEXT * get_regextpnt_by_uid (int uid)
 Get explorer extension definition by ID.
 
int GetExtUid_ws (const WSHDR *ext)
 Get the ID of the registered extension by its name.
 
int GetExtUidByFileName_ws (const WSHDR *file)
 Get the ID of the registered extension by path to the file.
 
void MediaSendCSM_Open (const WSHDR *file, const WSHDR *path)
 Open menu for sending file.
 
int PersMenuCSM_Open (const WSHDR *file_name, const WSHDR *dir, int flag, int open_mode)
 Open menu for setting resource as Wallpaper, Logo, Ringtone, etc.
 
int StartNativeExplorer (NativeExplorerData *data)
 Open NativeExplorer.
 
int OpenExplorer (NativeExplorerData *data)
 Open NativeExplorer.
 
int CardExplGetCurItem (void *csm)
 Get current item in open Explorer.
 
void CardExplGetFName (void *csm, int index, WSHDR *filename)
 Get filename of the item in the open Explorer.
 
int ExecuteFile (const WSHDR *filepath, const WSHDR *mime, void *param)
 Execute file by the NativeExplorer.
 
int ExplorerCopyFile (const char *from, const char *to, int overwrite, char transfer_id, uint32_t *errp)
 Copy file.
 
void ExplorerSetTransferState (char transfer_id, int state)
 Set transfer state.
 
int GetMimeType (int uid, WSHDR *mime_type, int occurrence)
 Get MIME type.
 
int BuildPath (WSHDR *path, const WSHDR *file_name, const WSHDR *dir)
 Build a full path by a file name and a directory name.