Rename FoobarDetails to FoobarPrivate; that does the trick for gtk-doc
[mmediamanager.git] / libmmanager / mm-module-manager.h
blobd9656250bfea22e7e9be910b70d93563a6237fc2
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_MODULE_MANAGER_H__
22 #define __MM_MODULE_MANAGER_H__
24 #include <glib.h>
25 #include <glib-object.h>
27 #include "mm-category-provider.h"
28 #include "mm-hit-collection-provider.h"
29 #include "mm-application-provider.h"
31 #define MM_TYPE_MODULE_MANAGER (mm_module_manager_get_type ())
32 #define MM_MODULE_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),\
33 MM_TYPE_MODULE_MANAGER, MMModuleManager))
34 #define MM_MODULE_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),\
35 MM_TYPE_MODULE_MANAGER, MMModuleManagerClass))
36 #define MM_IS_MODULE_MANAGER(obj) (G_TYPE_INSTANCE_CHECK_TYPE ((obj),\
37 MM_TYPE_MODULE_MANAGER))
38 #define MM_IS_MODULE_MANAGER_CLASS(klass) (G_TYPE_CLASS_CHECK_CLASS_TYPE ((klass),\
39 MM_TYPE_MODULE_MANAGER))
41 /**
42 * SECTION:mm-module-manager
43 * @short_description: module manager.
45 * #MMModuleManager manages all the #MMModule objects registered in the library,
46 * e.g. all the applications registered with .so files. You shouldn't need to
47 * access this object directly. The object is a singleton owned by #MMManager.
50 /**
51 * MMModuleManager:
53 * Manager for #MMModule objects.
56 typedef struct _MMModuleManager MMModuleManager;
57 typedef struct _MMModuleManagerPrivate MMModuleManagerPrivate;
58 typedef struct _MMModuleManagerClass MMModuleManagerClass;
60 struct _MMModuleManager {
61 GObject parent_object;
62 MMModuleManagerPrivate *details;
65 struct _MMModuleManagerClass {
66 GObjectClass parent_class;
69 /* public methods */
71 GType mm_module_manager_get_type (void);
73 GList * mm_module_manager_get_all_application_providers (MMModuleManager *manager);
74 MMCategoryProvider*
75 mm_module_manager_get_category_provider_for_application (MMModuleManager *manager,
76 const char *id);
77 MMHitCollectionProvider *
78 mm_module_manager_get_hit_collection_provider_for_application (MMModuleManager *manager,
79 const char *id);
81 #endif /* __MM_MODULE_MANAGER_H__ */