browser.h

Go to the documentation of this file.
00001 /*
00002  * UPnP Browser for Maemo
00003  *
00004  * helper.h
00005  *
00006  * Copyright 2005 Nokia Corporation
00007  */
00008  
00009 #ifndef BROWSER_H
00010 #define BROWSER_H
00011 
00012 #include <gtk/gtk.h>
00013 
00014 #define TREE_CELL_HEIGHT (30 + 1)
00015 
00016 enum {
00017         FOLDERMODEL_COLUMN_NAME,
00018         FOLDERMODEL_COLUMN_CONTAINER,
00019         FOLDERMODEL_COLUMN_DEVUDN,
00020         FOLDERMODEL_COLUMN_CLASS,
00021         FOLDERMODEL_COLUMN_URI,
00022         FOLDERMODEL_COLUMN_ID,
00023         FOLDERMODEL_COLUMN_BROWSED,
00024         FOLDERMODEL_COLUMNS
00025 };
00026 
00030 int create_device_view();
00031 
00035 int create_folder_model_view();
00036 
00040 void device_view_row_selected(GtkTreeSelection *selection,
00041                               gpointer user_data);
00042 
00046 void folder_view_row_selected(GtkTreeSelection *selection,
00047                               gpointer user_data);
00048 
00052 void folder_view_row_expanded(GtkTreeView *view,
00053                               GtkTreeIter *iter,
00054                               GtkTreePath *path,
00055                               gpointer user_data);
00056 
00060 void render_mimeimage_datafunc(GtkTreeViewColumn *column,
00061                                GtkCellRenderer *renderer,
00062                                GtkTreeModel *model,
00063                                GtkTreeIter *iter,
00064                                gpointer data);
00065                                
00069 gboolean container_filter_func(GtkTreeModel *model,
00070                                GtkTreeIter *iter,
00071                                gpointer data);
00072 
00077 gboolean update_folder_view_to_path(GtkTreePath *path);
00078 
00088 gboolean get_current_content_item(gchar** name, gchar** uri,
00089                                   gchar** node_class, gchar** id,
00090                                   gchar** udn);
00091 
00092 #endif

Generated on Mon Aug 14 10:23:32 2006 for CyberLinkC-AV by  doxygen 1.4.6