00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #ifndef HILDON_PLUGIN_LIST_H
00027 #define HILDON_PLUGIN_LIST_H
00028
00029 #include <glib.h>
00030 #include <glib-object.h>
00031 #include <gtk/gtkliststore.h>
00032
00033 G_BEGIN_DECLS
00034
00035 #define HILDON_TYPE_PLUGIN_LIST (hildon_plugin_list_get_type ())
00036 #define HILDON_PLUGIN_LIST(obj) (GTK_CHECK_CAST (obj, HILDON_TYPE_PLUGIN_LIST, HildonPluginList))
00037 #define HILDON_PLUGIN_LIST_CLASS(klass) \
00038 (GTK_CHECK_CLASS_CAST ((klass),\
00039 HILDON_TYPE_PLUGIN_LIST, HildonPluginListClass))
00040 #define HILDON_IS_PLUGIN_LIST(obj) (GTK_CHECK_TYPE (obj, HILDON_TYPE_PLUGIN_LIST))
00041 #define HILDON_IS_PLUGIN_LIST_CLASS(klass) \
00042 (GTK_CHECK_CLASS_TYPE ((klass), HILDON_TYPE_PLUGIN_LIST))
00043
00044
00045 enum
00046 {
00047 HILDON_PLUGIN_LIST_COLUMN_DESKTOP_FILE = 0,
00048 HILDON_PLUGIN_LIST_COLUMN_NAME,
00049 HILDON_PLUGIN_LIST_COLUMN_LIB,
00050 HILDON_PLUGIN_LIST_COLUMN_ACTIVE,
00051 HILDON_PLUGIN_LIST_N_COLUMNS
00052 };
00053
00054 typedef struct _HildonPluginList HildonPluginList;
00055 typedef struct _HildonPluginListClass HildonPluginListClass;
00056
00057 struct _HildonPluginList {
00058 GtkListStore parent;
00059 };
00060
00061 struct _HildonPluginListClass {
00062 GtkListStoreClass parent_class;
00063
00064 void (* directory_changed) (HildonPluginList *list);
00065
00066 };
00067
00068
00069 GType hildon_plugin_list_get_type (void);
00070
00071
00072
00073 void hildon_plugin_list_set_directory (HildonPluginList *list,
00074 const gchar *directory);
00075
00076 G_END_DECLS
00077 #endif