kontact Library API Documentation

pilotDaemonDCOP.h

00001 #ifndef PILOTDAEMONDCOP_H
00002 #define PILOTDAEMONDCOP_H
00003 /* pilotDaemonDCOP.h            KPilotDaemon
00004 **
00005 ** Copyright (C) 2000 by Adriaan de Groot
00006 **
00007 ** This file defines the DCOP interface for
00008 ** the KPilotDaemon. The daemon has *two* interfaces:
00009 ** one belonging with KUniqueApplication and this one.
00010 */
00011 
00012 /*
00013 ** This program is free software; you can redistribute it and/or modify
00014 ** it under the terms of the GNU General Public License as published by
00015 ** the Free Software Foundation; either version 2 of the License, or
00016 ** (at your option) any later version.
00017 **
00018 ** This program is distributed in the hope that it will be useful,
00019 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
00020 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00021 ** GNU General Public License for more details.
00022 **
00023 ** You should have received a copy of the GNU General Public License
00024 ** along with this program in a file called COPYING; if not, write to
00025 ** the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
00026 ** MA 02111-1307, USA.
00027 */
00028 
00029 /*
00030 ** Bug reports and questions can be sent to kde-pim@kde.org
00031 */
00032 
00033 
00034 #ifndef _DCOPOBJECT_H
00035 #include <dcopobject.h>
00036 #endif
00037 
00038 #include <qdatetime.h>
00039 #include <qstringlist.h>
00040 
00041 class PilotDaemonDCOP : virtual public DCOPObject
00042 {
00043     K_DCOP
00044 public:
00049     enum HotSyncTypes { Test=0,
00050         HotSync=1,
00051         FastSync=2,
00052         Backup=3,
00053         Restore=4 } ;
00054 k_dcop:
00059     virtual ASYNC requestSync(int) = 0;
00060     virtual ASYNC requestFastSyncNext() = 0;
00061     virtual ASYNC requestRegularSyncNext() = 0;
00062     virtual int nextSyncType() const = 0;
00063 
00068     virtual ASYNC quitNow() = 0;
00069     virtual ASYNC reloadSettings() = 0; // Indicate changed config file.
00070     virtual void stopListening() = 0;
00071     virtual void startListening() = 0;
00072     virtual bool isListening() =0 ;
00073 
00077     virtual QString statusString() = 0;
00078     virtual QString shortStatusString() = 0;
00079 
00083     virtual QDateTime lastSyncDate() = 0;
00084     virtual QStringList configuredConduitList() = 0;
00085     virtual QString logFileName() = 0;
00086     virtual QString userName() = 0;
00087     virtual QString pilotDevice() = 0;
00088     virtual bool killDaemonOnExit() = 0;
00089 
00090 k_dcop_signals:
00091     void kpilotDaemonStatusChanged();
00092 } ;
00093 
00094 #endif
KDE Logo
This file is part of the documentation for kontact Library Version 3.3.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Jul 25 11:21:31 2007 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003