fm-file-launcher

fm-file-launcher

Synopsis

gboolean            (*FmLaunchFolderFunc)               (GAppLaunchContext *ctx,
                                                         GList *folder_infos,
                                                         gpointer user_data,
                                                         GError **err);
                    FmFileLauncher;
gboolean            fm_launch_files                     (GAppLaunchContext *ctx,
                                                         GList *file_infos,
                                                         FmFileLauncher *launcher,
                                                         gpointer user_data);
gboolean            fm_launch_paths                     (GAppLaunchContext *ctx,
                                                         GList *paths,
                                                         FmFileLauncher *launcher,
                                                         gpointer user_data);
gboolean            fm_launch_desktop_entry             (GAppLaunchContext *ctx,
                                                         const char *file_or_id,
                                                         GList *uris,
                                                         FmFileLauncher *launcher,
                                                         gpointer user_data);

Description

Details

FmLaunchFolderFunc ()

gboolean            (*FmLaunchFolderFunc)               (GAppLaunchContext *ctx,
                                                         GList *folder_infos,
                                                         gpointer user_data,
                                                         GError **err);

FmFileLauncher

typedef struct {
    GAppInfo* (*get_app)(GList* file_infos, FmMimeType* mime_type, gpointer user_data, GError** err);
    /* gboolean (*before_open)(GAppLaunchContext* ctx, GList* folder_infos, gpointer user_data); */
    gboolean (*open_folder)(GAppLaunchContext* ctx, GList* folder_infos, gpointer user_data, GError** err);
    gboolean (*error)(GAppLaunchContext* ctx, GError* err, gpointer user_data);
} FmFileLauncher;

fm_launch_files ()

gboolean            fm_launch_files                     (GAppLaunchContext *ctx,
                                                         GList *file_infos,
                                                         FmFileLauncher *launcher,
                                                         gpointer user_data);

fm_launch_paths ()

gboolean            fm_launch_paths                     (GAppLaunchContext *ctx,
                                                         GList *paths,
                                                         FmFileLauncher *launcher,
                                                         gpointer user_data);

fm_launch_desktop_entry ()

gboolean            fm_launch_desktop_entry             (GAppLaunchContext *ctx,
                                                         const char *file_or_id,
                                                         GList *uris,
                                                         FmFileLauncher *launcher,
                                                         gpointer user_data);