Second round at Gtk-Doc-ifying public methods.
[mmediamanager.git] / src / mm-so-category.h
blobf75204bc4d4d25ba57cf7a2c83e7e1d527341172
1 /* MManager - a Desktop wide manager for multimedia applications.
3 * Copyright (C) 2008 Cosimo Cecchi <cosimoc@gnome.org>
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the
17 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 * Boston, MA 02111-1307, USA.
21 #ifndef __MM_SO_CATEGORY_H__
22 #define __MM_SO_CATEGORY_H__
24 #include <glib.h>
25 #include <glib-object.h>
26 #include "mm-so-application.h"
27 #include "mm-category.h"
29 #define MM_TYPE_SO_CATEGORY (mm_so_category_get_type())
30 #define MM_SO_CATEGORY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),\
31 MM_TYPE_SO_CATEGORY, MMSoCategory))
32 #define MM_SO_CATEGORY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),\
33 MM_TYPE_SO_CATEGORY, MMSoCategoryClass))
34 #define MM_IS_SO_CATEGORY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj),\
35 MM_TYPE_SO_CATEGORY))
36 #define MM_IS_SO_CATEGORY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj),\
37 MM_TYPE_SO_CATEGORY))
38 #define MM_SO_CATEGORY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj),\
39 MM_TYPE_SO_CATEGORY, MMSoCategoryClass))
41 typedef struct _MMSoCategory MMSoCategory;
42 typedef struct _MMSoCategoryClass MMSoCategoryClass;
44 struct _MMSoCategory {
45 MMCategory parent;
48 struct _MMSoCategoryClass {
49 MMCategoryClass parent_class;
52 /* public methods */
53 GType mm_so_category_get_type (void);
54 MMCategory* mm_so_category_new (MMSoApplication *app,
55 const char *name,
56 GIcon *icon);
57 #endif /* __MM_SO_CATEGORY_H__ */