~cordia-team/+junk/hildon-home

« back to all changes in this revision

Viewing changes to src/hd-sv-notification-daemon.h

  • Committer: Thomas-Karl Pietrowski
  • Date: 2011-10-09 16:56:50 UTC
  • Revision ID: thopiekar@googlemail.com-20111009165650-4c3oct3pk33c2fb3
first release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * This file is part of hildon-home
 
3
 *
 
4
 * Copyright (C) 2009 Nokia Corporation.
 
5
 *
 
6
 * This library is free software; you can redistribute it and/or
 
7
 * modify it under the terms of the GNU Lesser General Public License
 
8
 * version 2.1 as published by the Free Software Foundation.
 
9
 *
 
10
 * This library is distributed in the hope that it will be useful, but
 
11
 * 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.
 
14
 *
 
15
 * You should have received a copy of the GNU Lesser General Public
 
16
 * License along with this library; if not, write to the Free Software
 
17
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 
18
 * 02110-1301 USA
 
19
 *
 
20
 */
 
21
 
 
22
#ifndef __HD_SV_NOTIFICATION_DAEMON_H__
 
23
#define __HD_SV_NOTIFICATION_DAEMON_H__
 
24
 
 
25
#include <glib.h>
 
26
#include <glib-object.h>
 
27
 
 
28
G_BEGIN_DECLS
 
29
 
 
30
typedef struct _HDSVNotificationDaemon        HDSVNotificationDaemon;
 
31
typedef struct _HDSVNotificationDaemonClass   HDSVNotificationDaemonClass;
 
32
typedef struct _HDSVNotificationDaemonPrivate HDSVNotificationDaemonPrivate;
 
33
 
 
34
#define HD_TYPE_SV_NOTIFICATION_DAEMON                (hd_sv_notification_daemon_get_type ())
 
35
#define HD_SV_NOTIFICATION_DAEMON(obj)                (G_TYPE_CHECK_INSTANCE_CAST ((obj), HD_TYPE_SV_NOTIFICATION_DAEMON, HDSVNotificationDaemon))
 
36
#define HD_SV_NOTIFICATION_DAEMON_CLASS(klass)        (G_TYPE_CHECK_CLASS_CAST ((klass),  HD_TYPE_SV_NOTIFICATION_DAEMON, HDSVNotificationDaemonClass))
 
37
#define HD_IS_SV_NOTIFICATION_DAEMON(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), HD_TYPE_SV_NOTIFICATION_DAEMON))
 
38
#define HIDOLN_IS_SV_NOTIFICATION_DAEMON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),  HD_TYPE_SV_NOTIFICATION_DAEMON))
 
39
#define HD_SV_NOTIFICATION_DAEMON_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS ((obj),  HD_TYPE_SV_NOTIFICATION_DAEMON, HDSVNotificationDaemonClass))
 
40
 
 
41
struct _HDSVNotificationDaemon 
 
42
{
 
43
  GObject parent;
 
44
 
 
45
  HDSVNotificationDaemonPrivate *priv;
 
46
};
 
47
 
 
48
struct _HDSVNotificationDaemonClass 
 
49
{
 
50
  GObjectClass parent_class;
 
51
};
 
52
 
 
53
GType                   hd_sv_notification_daemon_get_type   (void);
 
54
 
 
55
gboolean                hd_sv_notification_daemon_play_event (HDSVNotificationDaemon *nd,
 
56
                                                              GHashTable             *hints,
 
57
                                                              const gchar            *notification_sender,
 
58
                                                              DBusGMethodInvocation  *context);
 
59
 
 
60
gboolean               hd_sv_notification_daemon_stop_event  (HDSVNotificationDaemon *nd,
 
61
                                                              gint                    id,
 
62
                                                              DBusGMethodInvocation  *context);
 
63
 
 
64
G_END_DECLS
 
65
 
 
66
#endif