* A lot of changes in the documentation, now it's generated correctly
[modest] / src / widgets / modest-header-view.h
index ac01093..0bb9444 100644 (file)
@@ -55,29 +55,10 @@ struct _ModestHeaderView {
        /* insert public members, if any */
 };
 
-typedef enum _ModestItemType ModestItemType;
+/* typedef enum _ModestItemType ModestItemType; */
 
-struct _ModestHeaderViewClass {
-       GtkTreeViewClass parent_class;
-
-       void (*message_selected) (ModestHeaderView* self,
-                                 TnyMsg *msg,
-                                 gpointer user_data);
-
-       void (*item_not_found) (ModestHeaderView* self,
-                               ModestItemType type,
-                               gpointer user_data);
-       
-       /* msg == NULL implies that the operation is finished, ie.
-        * the progress indictation can be hidden */
-       void (*status_update) (ModestHeaderView* self,
-                              const gchar* msg,
-                              gint status,
-                              gpointer user_data);
-};
 
-
-enum _ModestHeaderViewColumn {
+typedef enum _ModestHeaderViewColumn {
        MODEST_HEADER_VIEW_COLUMN_FROM,
        MODEST_HEADER_VIEW_COLUMN_TO,
        MODEST_HEADER_VIEW_COLUMN_SUBJECT,
@@ -88,22 +69,40 @@ enum _ModestHeaderViewColumn {
        MODEST_HEADER_VIEW_COLUMN_COMPACT_HEADER,
 
        MODEST_HEADER_VIEW_COLUMN_NUM
-};
-typedef enum _ModestHeaderViewColumn ModestHeaderViewColumn;
+} ModestHeaderViewColumn;
+/* typedef enum _ModestHeaderViewColumn ModestHeaderViewColumn; */
 
-enum _ModestHeaderViewStyle {
+typedef enum _ModestHeaderViewStyle {
        MODEST_HEADER_VIEW_STYLE_NORMAL,
        MODEST_HEADER_VIEW_STYLE_COMPACT,
        MODEST_HEADER_VIEW_STYLE_NUM
-};
-typedef enum _ModestHeaderViewStyle ModestHeaderViewStyle;
+} ModestHeaderViewStyle;
+/* typedef enum _ModestHeaderViewStyle ModestHeaderViewStyle; */
 
-enum _ModestItemType {
+typedef enum _ModestItemType {
        MODEST_ITEM_TYPE_MESSAGE,
        MODEST_ITEM_TYPE_FOLDER,
        MODEST_ITEM_TYPE_NUM
-};
+} ModestItemType;
+
+struct _ModestHeaderViewClass {
+       GtkTreeViewClass parent_class;
 
+       void (*message_selected) (ModestHeaderView* self,
+                                 TnyMsg *msg,
+                                 gpointer user_data);
+
+       void (*item_not_found) (ModestHeaderView* self,
+                               ModestItemType type,
+                               gpointer user_data);
+       
+       /* msg == NULL implies that the operation is finished, ie.
+        * the progress indictation can be hidden */
+       void (*status_update) (ModestHeaderView* self,
+                              const gchar* msg,
+                              gint status,
+                              gpointer user_data);
+};
 
 /**
  * modest_header_view_get_type: