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__
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 typedef struct _MMModuleManager MMModuleManager
;
42 typedef struct _MMModuleManagerDetails MMModuleManagerDetails
;
43 typedef struct _MMModuleManagerClass MMModuleManagerClass
;
45 struct _MMModuleManager
{
46 GObject parent_object
;
47 MMModuleManagerDetails
*details
;
50 struct _MMModuleManagerClass
{
51 GObjectClass parent_class
;
56 GType
mm_module_manager_get_type (void);
58 GList
* mm_module_manager_get_all_application_providers (MMModuleManager
*manager
);
60 mm_module_manager_get_category_provider_for_application (MMModuleManager
*manager
,
62 MMHitCollectionProvider
*
63 mm_module_manager_get_hit_collection_provider_for_application (MMModuleManager
*manager
,
66 #endif /* __MM_MODULE_MANAGER_H__ */