alarmguiiface.h
00001 /* 00002 This file is part of the KDE alarm daemon GUI. 00003 Copyright (c) 1997-1999 Preston Brown 00004 Copyright (c) 2000,2001 Cornelius Schumacher <schumacher@kde.org> 00005 Copyright (c) 2001 David Jarvie <software@astrojar.org.uk> 00006 00007 This library is free software; you can redistribute it and/or 00008 modify it under the terms of the GNU Library General Public 00009 License as published by the Free Software Foundation; either 00010 version 2 of the License, or (at your option) any later version. 00011 00012 This library is distributed in the hope that it will be useful, 00013 but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00015 Library General Public License for more details. 00016 00017 You should have received a copy of the GNU Library General Public License 00018 along with this library; see the file COPYING.LIB. If not, write to 00019 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 00020 Boston, MA 02111-1307, USA. 00021 00022 As a special exception, permission is given to link this program 00023 with any edition of Qt, and distribute the resulting executable, 00024 without including the source code for Qt in the source distribution. 00025 */ 00026 #ifndef DAEMONGUIIFACE_H 00027 #define DAEMONGUIIFACE_H 00028 // $Id: alarmguiiface.h,v 1.6 2002/01/16 16:57:02 cschumac Exp $ 00029 00030 #include <dcopobject.h> 00031 // Don't use #include "alarmdaemoniface.h" so that programs other than kalarmd can compile 00032 #include <kalarmd/alarmdaemoniface.h> 00033 00034 class AlarmGuiIface : virtual public DCOPObject 00035 { 00036 K_DCOP 00037 k_dcop: 00038 virtual ASYNC alarmDaemonUpdate(int alarmGuiChangeType, 00039 const QString& calendarURL, 00040 const QCString& appName) = 0; 00041 virtual ASYNC handleEvent(const QString& calendarURL, 00042 const QString& eventID) = 0; 00043 virtual ASYNC handleEvent( const QString &iCalendarString ) = 0; 00044 }; 00045 00046 #endif