2
* This file is part of buteo-syncfw package
4
* Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
6
* Contact: Sateesh Kavuri <sateesh.kavuri@nokia.com>
8
* This library is free software; you can redistribute it and/or
9
* modify it under the terms of the GNU Lesser General Public License
10
* version 2.1 as published by the Free Software Foundation.
12
* This library is distributed in the hope that it will be useful, but
13
* WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
* Lesser General Public License for more details.
17
* You should have received a copy of the GNU Lesser General Public
18
* License along with this library; if not, write to the Free Software
19
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
25
#ifndef QDBUSABSTRACTADAPTORSYNCSCHEDULERDBUSADAPTOR_H
26
#define QDBUSABSTRACTADAPTORSYNCSCHEDULERDBUSADAPTOR_H
28
#include <QtDBus/QtDBus>
32
class SyncSchedulerDBusAdaptor: public QDBusAbstractAdaptor{
35
Q_CLASSINFO("D-Bus Interface", "com.nokia.msyncd.scheduler")
36
Q_CLASSINFO("D-Bus Introspection", ""
37
" <interface name=\"com.nokia.msyncd.scheduler\" >\n"
38
" <method name=\"triggerAlarm\" >\n"
39
" <arg direction=\"in\" type=\"i\" name=\"aAlarmID\" />\n"
40
" <annotation value=\"true\" name=\"org.freedesktop.DBus.Method.NoReply\" />\n"
48
* @param aParent A pointer to parent object
50
SyncSchedulerDBusAdaptor(QObject* aParent);
55
virtual ~SyncSchedulerDBusAdaptor();
60
* \brief Called when an alarm event is triggered by the alarm daemon
63
Q_NOREPLY void triggerAlarm(int aAlarmID);