diff options
author | Owen Taylor <otaylor@redhat.com> | 2003-04-04 22:43:12 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2003-04-04 22:43:12 +0000 |
commit | bc3fb55c1bd579ba6fe81f50f8865e915b9c4ff2 (patch) | |
tree | 8365c1ee14981c957dab5df4bac3dcc72a4a4ffe /gtk/gtkfilesystemmodel.h | |
parent | a013536bef931b02e96537016a2d097236868f4c (diff) | |
download | gtk+-bc3fb55c1bd579ba6fe81f50f8865e915b9c4ff2.tar.gz |
Move interface definition into a private header so it can refer to
Fri Apr 4 17:30:27 2003 Owen Taylor <otaylor@redhat.com>
* gtkfilechooserprivate.h gtkfilechooser.h: Move
interface definition into a private header so it
can refer to GtkFileSystem.
* *.[ch]: Switch over from using gchar *uri internally
to using GtkFilePath * internally, and add
conversion routines to GtkFileSystem.
* TODO README: Updates.
Diffstat (limited to 'gtk/gtkfilesystemmodel.h')
-rw-r--r-- | gtk/gtkfilesystemmodel.h | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/gtk/gtkfilesystemmodel.h b/gtk/gtkfilesystemmodel.h index 4edebe7ee9..b3647dc6c2 100644 --- a/gtk/gtkfilesystemmodel.h +++ b/gtk/gtkfilesystemmodel.h @@ -36,19 +36,18 @@ typedef struct _GtkFileSystemModel GtkFileSystemModel; GType _gtk_file_system_model_get_type (void); enum { - GTK_FILE_SYSTEM_MODEL_URI, GTK_FILE_SYSTEM_MODEL_INFO, GTK_FILE_SYSTEM_MODEL_DISPLAY_NAME, GTK_FILE_SYSTEM_MODEL_N_COLUMNS } GtkFileSystemModelColumns; GtkFileSystemModel *_gtk_file_system_model_new (GtkFileSystem *file_system, - const gchar *root_uri, + const GtkFilePath *root_path, gint max_depth, GtkFileInfoType types); const GtkFileInfo * _gtk_file_system_model_get_info (GtkFileSystemModel *model, GtkTreeIter *iter); -const gchar * _gtk_file_system_model_get_uri (GtkFileSystemModel *model, +const GtkFilePath * _gtk_file_system_model_get_path (GtkFileSystemModel *model, GtkTreeIter *iter); void _gtk_file_system_model_set_show_hidden (GtkFileSystemModel *model, gboolean show_hidden); @@ -58,15 +57,15 @@ void _gtk_file_system_model_set_show_files (GtkFileSystemModel gboolean show_files); -typedef void (*GtkFileSystemModelURIFunc) (GtkFileSystemModel *model, - GtkTreePath *path, - GtkTreeIter *iter, - gpointer user_data); +typedef void (*GtkFileSystemModelPathFunc) (GtkFileSystemModel *model, + GtkTreePath *path, + GtkTreeIter *iter, + gpointer user_data); -gboolean _gtk_file_system_model_uri_do (GtkFileSystemModel *model, - const gchar *uri, - GtkFileSystemModelURIFunc func, - gpointer user_data); +gboolean _gtk_file_system_model_path_do (GtkFileSystemModel *model, + const GtkFilePath *path, + GtkFileSystemModelPathFunc func, + gpointer user_data); G_END_DECLS |