diff options
author | David King <davidk@gnome.org> | 2013-07-08 15:57:25 +0100 |
---|---|---|
committer | David King <davidk@gnome.org> | 2013-09-05 14:33:44 +0100 |
commit | 92845578135685bbc72ef09fb27b7b5addc0f347 (patch) | |
tree | ebd518a76df9076a7c16317152790709bb185831 /src/gl-categorylist.h | |
parent | fb768c547d7deb093d09c49aae12da2ed216f1ce (diff) | |
download | gnome-logs-92845578135685bbc72ef09fb27b7b5addc0f347.tar.gz |
Move category and group view to GlCategoryList
Diffstat (limited to 'src/gl-categorylist.h')
-rw-r--r-- | src/gl-categorylist.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/src/gl-categorylist.h b/src/gl-categorylist.h new file mode 100644 index 0000000..3dd8cea --- /dev/null +++ b/src/gl-categorylist.h @@ -0,0 +1,46 @@ +/* + * GNOME Logs - View and search logs + * Copyright (C) 2013 Red Hat, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef GL_CATEGORY_LIST_H_ +#define GL_CATEGORY_LIST_H_ + +#include <gtk/gtk.h> + +G_BEGIN_DECLS + +typedef struct +{ + /*< private >*/ + GtkListBox parent_instance; +} GlCategoryList; + +typedef struct +{ + /*< private >*/ + GtkListBoxClass parent_class; +} GlCategoryListClass; + +#define GL_TYPE_CATEGORY_LIST (gl_category_list_get_type ()) +#define GL_CATEGORY_LIST(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GL_TYPE_CATEGORY_LIST, GlCategoryList)) + +GType gl_category_list_get_type (void); +GtkWidget * gl_category_list_new (void); + +G_END_DECLS + +#endif /* GL_CATEGORY_LIST_H_ */ |