kpilot 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 
00039 class PilotDaemonDCOP : virtual public DCOPObject
00040 {
00041     K_DCOP
00042 public:
00047     enum HotSyncTypes { Test=0,
00048         HotSync=1,
00049         FastSync=2,
00050         Backup=3,
00051         Restore=4 } ;
00052 k_dcop:
00057     virtual ASYNC requestSync(int) = 0;
00058     virtual ASYNC requestFastSyncNext() = 0;
00059     virtual ASYNC requestRegularSyncNext() = 0;
00060     virtual int nextSyncType() const = 0;
00061 
00066     virtual ASYNC quitNow() = 0;
00067     virtual ASYNC reloadSettings() =0; // Indicate changed config file.
00068 
00072     virtual QString statusString() = 0;
00073 } ;
00074 
00075 #endif
KDE Logo
This file is part of the documentation for kpilot Library Version 3.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sat May 1 11:36:48 2004 by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2003