271int ExplorerCopyFile(
const char *from,
const char *to,
int overwrite,
char transfer_id, uint32_t *errp)
#define __swi_end(number, func, call)
#define __swi_begin(number)
WSHDR * file_name
File name.
int(* show_item_handler)(NATIVE_EXPLORER_ITEM *)
Callback for showing items.
int Options_lgpid
Name of the "Options" item in the file menu (LGP_ID or C-string)
void * proc
Callback for the "Open".
WSHDR * full_filename
Full path to the dir or file.
const char * ext
Name of the extension, example: "elf".
WSHDR * path_to_file
Full path to the dir or file.
uint16_t menu_flag
Menu flags.
int dir_enum
Usually 0x26.
void * altproc
Callback for the "Options".
int mode
See NativeExplorerMode.
WSHDR * ext
Name of the extension in UTF-16.
const int * icon1
Pointer to the SMALL icons (16x16)
const uint32_t * icon1
Pointer to the SMALL icons (16x16)
const int * icon2
Pointer to the BIG icons (32x32)
int unical_id
Uniq ID of the extension.
char obex_path_id
Path for saving files through the OBEX (set to 8 - 0:\Misc)
short menu_flag
Set to MENU_FLAG2.
int(* user_handler)(NATIVE_EXPLORER_ITEM *)
Callback for mode=NATIVE_EXPLORER_MODE_SELECT.
char obex_path_id
Path for saving files through the OBEX.
WSHDR * file_name
Scroll to the file/dir, if non-empty (Only filename)
void * altproc
Callback for the "Options".
NativeExplorerData * this_struct_addr
Self-reference to this structure.
const uint32_t * icon2
Pointer to the BIG icons (32x32)
int Open_lgpid
Name of the "Open" item in the file menu (LGP_ID or C-string)
int Enter_lgpid
Icon for the center softkey, set to LGP_DOIT_PIC.
char enabled_options
Options flags.
int unical_id
Uniq ID of the extension.
int is_exact_dir
Set to 1.
uint16_t attr
File attributes, see FileAttributes.
void * proc
Callback for the "Open".
char enabled_options
Enabled options, set to 0xFF.
void ExplorerSetTransferState(char transfer_id, int state)
Set transfer state.
int CardExplGetCurItem(void *csm)
Get current item in open Explorer.
int GetExtUid_ws(const WSHDR *ext)
Get the ID of the registered extension by its name.
TREGEXPLEXT * get_regextpnt_by_uid(int uid)
Get explorer extension definition by ID.
void * EXT_TOP(void)
Get a pointer to the explorer extensions.
int ExplorerCopyFile(const WSHDR *from, const WSHDR *to, int overwrite, char transfer_id, uint32_t *errp)
Copy file.
int UnRegExplorerExt(const REGEXPLEXT *ext)
Unregister extension from the NativeExplorer.
NativeExplorerMode
Mode of the NativeExplorer.
int GetMimeType(int uid, WSHDR *mime_type, int occurrence)
Get MIME type.
void CardExplGetFName(void *csm, int index, WSHDR *filename)
Get filename of the item in the open Explorer.
int OpenExplorer(NativeExplorerData *data)
Open NativeExplorer.
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 ExecuteFile(const WSHDR *filepath, const WSHDR *mime, void *param)
Execute file by the NativeExplorer.
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.
void RegExplorerExt(const REGEXPLEXT *ext)
Register own extension in the NativeExplorer.
int BuildPath(WSHDR *path, const WSHDR *file_name, const WSHDR *dir)
Build a full path by a file name and a directory name.
@ NATIVE_EXPLORER_MODE_SELECT
Select file.
@ NATIVE_EXPLORER_MODE_COPY
Copy file mode.
@ NATIVE_EXPLORER_MODE_DEFAULT
Explore files, default mode.
@ NATIVE_EXPLORER_MODE_MOVE
Move file mode.
@ EXPLORER_TRANSFER_STATE_RUNNING
@ EXPLORER_TRANSFER_STATE_STOP
Item structure of the NativeExplorer.
Extension registration structure.
Native Explorer extension entry returned by get_regextpnt_by_uid on SG and X75.