![]() |
![]() |
![]() |
libSqueeze Reference Manual | ![]() |
---|---|---|---|---|
enum LSQArchiveStatus; LSQEntry; typedef LSQArchiveIter; LSQArchive; LSQArchive* lsq_archive_new (gchar *, const gchar *); void lsq_archive_set_status (LSQArchive *archive, LSQArchiveStatus status); LSQArchiveStatus lsq_archive_get_status (LSQArchive *archive); const gchar* lsq_archive_get_status_msg (LSQArchive *archive); LSQArchiveStatus lsq_archive_get_old_status (LSQArchive *archive); const gchar* lsq_archive_get_filename (LSQArchive *archive); gboolean lsq_archive_iter_is_directory (const LSQArchive *, const LSQArchiveIter *); guint lsq_archive_iter_n_children (const LSQArchive *, const LSQArchiveIter *); LSQArchiveIter* lsq_archive_iter_nth_child (LSQArchive *, LSQArchiveIter *, guint ); LSQArchiveIter* lsq_archive_iter_add_child (LSQArchive *, LSQArchiveIter *, const gchar *); LSQArchiveIter* lsq_archive_iter_get_child (const LSQArchive *, const LSQArchiveIter *, const gchar *); void lsq_archive_iter_set_mime (LSQArchive *, LSQArchiveIter *, ThunarVfsMimeInfo *); void lsq_archive_iter_set_prop_str (LSQArchive *, LSQArchiveIter *, guint , const gchar *); void lsq_archive_iter_set_prop_uint (LSQArchive *, LSQArchiveIter *, guint , guint ); void lsq_archive_iter_set_prop_uint64 (LSQArchive *, LSQArchiveIter *, guint , guint64 ); void lsq_archive_iter_set_prop_value (LSQArchive *, LSQArchiveIter *, guint , const GValue *); void lsq_archive_iter_set_props (LSQArchive *, LSQArchiveIter *, ...); void lsq_archive_iter_set_propsv (LSQArchive *, LSQArchiveIter *, gconstpointer *); gboolean lsq_archive_iter_get_prop_value (const LSQArchive *archive, const LSQArchiveIter *iter, guint n, GValue *value); void lsq_archive_iter_get_icon_name (const LSQArchive *archive, const LSQArchiveIter *iter, GValue *value, GtkIconTheme *icon_theme); LSQArchiveIter* lsq_archive_add_file (LSQArchive *archive, const gchar *path); LSQArchiveIter* lsq_archive_get_iter (const LSQArchive *archive, const gchar *path); GType lsq_archive_get_entry_property_type (LSQArchive *archive, guint n); const gchar* lsq_archive_get_entry_property_name (LSQArchive *archive, guint n); guint lsq_archive_n_property (LSQArchive *archive);
typedef enum { LSQ_ARCHIVESTATUS_INIT = 0, LSQ_ARCHIVESTATUS_IDLE, LSQ_ARCHIVESTATUS_ADD, LSQ_ARCHIVESTATUS_EXTRACT, LSQ_ARCHIVESTATUS_REMOVE, LSQ_ARCHIVESTATUS_REFRESH, LSQ_ARCHIVESTATUS_ERROR, LSQ_ARCHIVESTATUS_PREPARE_VIEW, LSQ_ARCHIVESTATUS_CUSTOM, LSQ_ARCHIVESTATUS_USERBREAK } LSQArchiveStatus;
typedef struct { GObject parent; gchar *path; ThunarVfsPath *path_info; ThunarVfsInfo *file_info; ThunarVfsMimeInfo *mime_info; guint entry_n_property; GType *entry_property_types; gchar **entry_property_names; LSQEntry *root_entry; LSQArchiveStatus status; LSQArchiveStatus old_status; gchar *status_msg; gdouble progress; GPid child_pid; GIOChannel *ioc_in; GIOChannel *ioc_out; GIOChannel *ioc_err; gpointer support; GSList *files; gboolean has_passwd; struct { guint64 archive_size; guint64 content_size; guint64 n_files; guint64 n_directories; } props; gchar *temp_dir; GSList *monitor_list; } LSQArchive;
LSQArchive* lsq_archive_new (gchar *, const gchar *);
Param1 : |
|
Param2 : |
|
Returns : |
void lsq_archive_set_status (LSQArchive *archive, LSQArchiveStatus status);
archive : |
|
status : |
LSQArchiveStatus lsq_archive_get_status (LSQArchive *archive);
archive : |
|
Returns : |
const gchar* lsq_archive_get_status_msg (LSQArchive *archive);
archive : |
|
Returns : |
LSQArchiveStatus lsq_archive_get_old_status (LSQArchive *archive);
archive : |
|
Returns : |
const gchar* lsq_archive_get_filename (LSQArchive *archive);
archive : |
|
Returns : |
gboolean lsq_archive_iter_is_directory (const LSQArchive *, const LSQArchiveIter *);
Param1 : |
|
Param2 : |
|
Returns : |
guint lsq_archive_iter_n_children (const LSQArchive *, const LSQArchiveIter *);
Param1 : |
|
Param2 : |
|
Returns : |
LSQArchiveIter* lsq_archive_iter_nth_child (LSQArchive *, LSQArchiveIter *, guint );
Param1 : |
|
Param2 : |
|
Param3 : |
|
Returns : |
LSQArchiveIter* lsq_archive_iter_add_child (LSQArchive *, LSQArchiveIter *, const gchar *);
Param1 : |
|
Param2 : |
|
Param3 : |
|
Returns : |
LSQArchiveIter* lsq_archive_iter_get_child (const LSQArchive *, const LSQArchiveIter *, const gchar *);
Param1 : |
|
Param2 : |
|
Param3 : |
|
Returns : |
void lsq_archive_iter_set_mime (LSQArchive *, LSQArchiveIter *, ThunarVfsMimeInfo *);
Param1 : |
|
Param2 : |
|
Param3 : |
void lsq_archive_iter_set_prop_str (LSQArchive *, LSQArchiveIter *, guint , const gchar *);
Param1 : |
|
Param2 : |
|
Param3 : |
|
Param4 : |
void lsq_archive_iter_set_prop_uint (LSQArchive *, LSQArchiveIter *, guint , guint );
Param1 : |
|
Param2 : |
|
Param3 : |
|
Param4 : |
void lsq_archive_iter_set_prop_uint64 (LSQArchive *, LSQArchiveIter *, guint , guint64 );
Param1 : |
|
Param2 : |
|
Param3 : |
|
Param4 : |
void lsq_archive_iter_set_prop_value (LSQArchive *, LSQArchiveIter *, guint , const GValue *);
Param1 : |
|
Param2 : |
|
Param3 : |
|
Param4 : |
void lsq_archive_iter_set_props (LSQArchive *, LSQArchiveIter *, ...);
Param1 : |
|
Param2 : |
|
... : |
void lsq_archive_iter_set_propsv (LSQArchive *, LSQArchiveIter *, gconstpointer *);
Param1 : |
|
Param2 : |
|
Param3 : |
gboolean lsq_archive_iter_get_prop_value (const LSQArchive *archive, const LSQArchiveIter *iter, guint n, GValue *value);
archive : |
|
iter : |
|
n : |
|
value : |
|
Returns : |
void lsq_archive_iter_get_icon_name (const LSQArchive *archive, const LSQArchiveIter *iter, GValue *value, GtkIconTheme *icon_theme);
archive : |
|
iter : |
|
value : |
|
icon_theme : |
LSQArchiveIter* lsq_archive_add_file (LSQArchive *archive, const gchar *path);
archive : |
|
path : |
|
Returns : |
LSQArchiveIter* lsq_archive_get_iter (const LSQArchive *archive, const gchar *path);
archive : |
|
path : |
|
Returns : |
GType lsq_archive_get_entry_property_type (LSQArchive *archive, guint n);
archive : |
|
n : |
|
Returns : |
const gchar* lsq_archive_get_entry_property_name (LSQArchive *archive, guint n);
archive : |
|
n : |
|
Returns : |