Top | ![]() |
![]() |
![]() |
![]() |
gboolean | fm_archiver_is_mime_type_supported () |
gboolean | fm_archiver_create_archive () |
gboolean | fm_archiver_extract_archives () |
gboolean | fm_archiver_extract_archives_to () |
FmArchiver * | fm_archiver_get_default () |
void | fm_archiver_set_default () |
const GList * | fm_archiver_get_all () |
include
: libfm/fm.h
The FmArchiver represents support for utilities which can pack files into archive and/or extract them.
gboolean fm_archiver_is_mime_type_supported (FmArchiver *archiver
,const char *type
);
gboolean fm_archiver_create_archive (FmArchiver *archiver
,GAppLaunchContext *ctx
,FmPathList *files
);
Creates an archive for files
.
archiver |
the archiver descriptor |
|
ctx |
a launch context. |
[allow-none] |
files |
files to pack into archive |
Since: 0.1.9
gboolean fm_archiver_extract_archives (FmArchiver *archiver
,GAppLaunchContext *ctx
,FmPathList *files
);
Extracts files from archives.
archiver |
the archiver descriptor |
|
ctx |
a launch context. |
[allow-none] |
files |
archives to unpack |
Since: 0.1.9
gboolean fm_archiver_extract_archives_to (FmArchiver *archiver
,GAppLaunchContext *ctx
,FmPathList *files
,FmPath *dest_dir
);
Extracts files from archives into dest_dir
.
archiver |
archiver descriptor |
|
ctx |
a launch context. |
[allow-none] |
files |
archives to unpack |
|
dest_dir |
directory where files should be extracted to |
Since: 0.1.9
FmArchiver * fm_archiver_get_default ();
Retrieves default GUI archiver used by libfm.
This API is not thread-safe and should be used only in default context.
Since: 0.1.9
void
fm_archiver_set_default (FmArchiver *archiver
);
Sets default GUI archiver used by libfm.
This API is not thread-safe and should be used only in default context.
Since: 0.1.9
const GList *
fm_archiver_get_all ();
Retrieves a list of FmArchiver of all GUI archivers known to libfm.
This API is not thread-safe and should be used only in default context.
Since: 0.1.9