Rename FoobarDetails to FoobarPrivate; that does the trick for gtk-doc
[mmediamanager.git] / libmmanager / mm-manager.h
blob5efad6e5f8caf06e3c10be1fd6b9209d362d9bf0
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_MANAGER_H__
22 #define __MM_MANAGER_H__
24 #include <glib.h>
25 #include "mm-types.h"
26 #include "mm-application-provider.h"
27 #include "mm-module-manager.h"
29 #define MM_TYPE_MANAGER (mm_manager_get_type())
30 #define MM_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),\
31 MM_TYPE_MANAGER, MMManager))
32 #define MM_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),\
33 MM_TYPE_MANAGER, MMManagerClass))
34 #define MM_IS_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj),\
35 MM_TYPE_MANAGER))
36 #define MM_IS_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj),\
37 MM_TYPE_MANAGER))
38 #define MM_MANAGER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj),\
39 MM_TYPE_MANAGER, MMManagerClass))
41 /**
42 * SECTION:mm-manager
43 * @short_description: manager of the library.
45 * The #MMManager keeps track of all the registered applications, and offers
46 * some methods to access them. The object is a singleton, owned by the
47 * library.
50 /**
51 * MMManager:
53 * Base manager for the library.
56 typedef struct _MMManager MMManager;
57 typedef struct _MMManagerPrivate MMManagerPrivate;
58 typedef struct _MMManagerClass MMManagerClass;
60 struct _MMManager {
61 GObject parent_object;
62 MMManagerPrivate *details;
65 struct _MMManagerClass {
66 GObjectClass parent_class;
69 /* public methods */
70 MMManager* mm_manager_get (void);
71 GType mm_manager_get_type (void);
73 GList* mm_manager_get_application_list_for_type (MMManager *manager,
74 MMApplicationType type);
75 GList* mm_manager_get_application_list (MMManager *manager);
76 MMModuleManager *mm_manager_get_module_manager (MMManager *manager);
78 #endif /* __MM_MANAGER_H__ */