2
* This file is part of hildon-home
4
* Copyright (C) 2009 Nokia Corporation.
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.
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.
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
22
#ifndef __HD_SV_NOTIFICATION_DAEMON_H__
23
#define __HD_SV_NOTIFICATION_DAEMON_H__
26
#include <glib-object.h>
30
typedef struct _HDSVNotificationDaemon HDSVNotificationDaemon;
31
typedef struct _HDSVNotificationDaemonClass HDSVNotificationDaemonClass;
32
typedef struct _HDSVNotificationDaemonPrivate HDSVNotificationDaemonPrivate;
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))
41
struct _HDSVNotificationDaemon
45
HDSVNotificationDaemonPrivate *priv;
48
struct _HDSVNotificationDaemonClass
50
GObjectClass parent_class;
53
GType hd_sv_notification_daemon_get_type (void);
55
gboolean hd_sv_notification_daemon_play_event (HDSVNotificationDaemon *nd,
57
const gchar *notification_sender,
58
DBusGMethodInvocation *context);
60
gboolean hd_sv_notification_daemon_stop_event (HDSVNotificationDaemon *nd,
62
DBusGMethodInvocation *context);