kpilot Library API Documentation

kpilotDCOP.h

00001 #ifndef _KPILOT_KPILOTDCOP_H 00002 #define _KPILOT_KPILOTDCOP_H 00003 /* kpilotDCOP.h KPilotDaemon 00004 ** 00005 ** Copyright (C) 2000 by Adriaan de Groot 00006 ** 00007 ** This file defines the DCOP interface for KPilot. 00008 */ 00009 00010 /* 00011 ** This program is free software; you can redistribute it and/or modify 00012 ** it under the terms of the GNU General Public License as published by 00013 ** the Free Software Foundation; either version 2 of the License, or 00014 ** (at your option) any later version. 00015 ** 00016 ** This program is distributed in the hope that it will be useful, 00017 ** but WITHOUT ANY WARRANTY; without even the implied warranty of 00018 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00019 ** GNU General Public License for more details. 00020 ** 00021 ** You should have received a copy of the GNU General Public License 00022 ** along with this program in a file called COPYING; if not, write to 00023 ** the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, 00024 ** MA 02111-1307, USA. 00025 */ 00026 00027 /* 00028 ** Bug reports and questions can be sent to kde-pim@kde.org 00029 */ 00030 00031 00032 #include <dcopobject.h> 00033 00034 00035 class KPilotDCOP : virtual public DCOPObject 00036 { 00037 K_DCOP 00038 00039 public: 00040 enum DaemonMessages { 00041 None=0, 00042 StartOfHotSync=1, 00043 EndOfHotSync=2, 00044 DaemonQuit=4 } ; 00045 enum KPilotStatus { 00046 Startup=1, 00047 WaitingForDaemon=2, 00048 Normal=10, 00049 UIBusy=100, 00050 Error=101 } ; 00051 00052 k_dcop: 00057 virtual ASYNC daemonStatus(int) = 0; 00058 00063 virtual ASYNC configure() = 0; 00064 00069 virtual ASYNC configureConduits() = 0; 00070 00074 virtual int kpilotStatus() = 0; 00075 } ; 00076 00077 00078 00079 #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 Wed Jul 28 23:57:49 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003