Rename FoobarDetails to FoobarPrivate; that does the trick for gtk-doc
[mmediamanager.git] / libmmanager / mm-dbus-application.h
blob953849d4459dba6ae6157cd366ba5c7a0cd6132f
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_DBUS_APPLICATION_H__
22 #define __MM_DBUS_APPLICATION_H__
24 #include <glib.h>
25 #include <glib-object.h>
26 #include "mm-application.h"
28 #define MM_TYPE_DBUS_APPLICATION (mm_dbus_application_get_type())
29 #define MM_DBUS_APPLICATION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),\
30 MM_TYPE_DBUS_APPLICATION, MMDBusApplication))
31 #define MM_DBUS_APPLICATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),\
32 MM_TYPE_DBUS_APPLICATION, MMDBusApplicationClass))
33 #define MM_IS_DBUS_APPLICATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj),\
34 MM_TYPE_DBUS_APPLICATION))
35 #define MM_IS_DBUS_APPLICATION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj),\
36 MM_TYPE_DBUS_APPLICATION))
37 #define MM_DBUS_APPLICATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj),\
38 MM_TYPE_DBUS_APPLICATION, MMDBusApplicationClass))
40 /**
41 * SECTION:mm-dbus-application
42 * @short_description: DBus implementation of #MMApplication.
44 * A #MMDBusApplication is an implementation of #MMApplication for applications
45 * using the DBus interface of the library.
48 /**
49 * MMDBusApplication:
51 * A DBus implementation of a #MMApplication.
54 typedef struct _MMDBusApplication MMDBusApplication;
56 /**
57 * MMDBusApplicationClass:
59 * Class of #MMDBusApplication objects.
62 typedef struct _MMDBusApplicationClass MMDBusApplicationClass;
63 typedef struct _MMDBusApplicationPrivate MMDBusApplicationPrivate;
65 struct _MMDBusApplication {
66 MMApplication parent;
67 MMDBusApplicationPrivate *details;
70 struct _MMDBusApplicationClass {
71 MMApplicationClass parent_class;
74 /* public methods */
75 GType mm_dbus_application_get_type (void);
76 MMApplication * mm_dbus_application_new (const char *desktop_id,
77 MMApplicationType supported_type,
78 const char *name,
79 const char *path);
80 const char * mm_dbus_application_get_path (MMDBusApplication *app);
82 #endif /* __MM_DBUS_APPLICATION_H__ */