diff options
Diffstat (limited to 'kpilot/kpilot/pilotDaemonDCOP.h')
-rw-r--r-- | kpilot/kpilot/pilotDaemonDCOP.h | 103 |
1 files changed, 0 insertions, 103 deletions
diff --git a/kpilot/kpilot/pilotDaemonDCOP.h b/kpilot/kpilot/pilotDaemonDCOP.h deleted file mode 100644 index b56a245b..00000000 --- a/kpilot/kpilot/pilotDaemonDCOP.h +++ /dev/null @@ -1,103 +0,0 @@ -#ifndef PILOTDAEMONDCOP_H -#define PILOTDAEMONDCOP_H -/* pilotDaemonDCOP.h KPilotDaemon -** -** Copyright (C) 2000 by Adriaan de Groot -** Copyright (C) 2003-2004 Reinhold Kainhofer <reinhold@kainhofer.com> -** -** This file defines the DCOP interface for -** the KPilotDaemon. The daemon has *two* interfaces: -** one belonging with KUniqueApplication and this one. -*/ - -/* -** This program is free software; you can redistribute it and/or modify -** it under the terms of the GNU General Public License as published by -** the Free Software Foundation; either version 2 of the License, or -** (at your option) any later version. -** -** This program is distributed in the hope that it will be useful, -** but WITHOUT ANY WARRANTY; without even the implied warranty of -** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -** GNU General Public License for more details. -** -** You should have received a copy of the GNU General Public License -** along with this program in a file called COPYING; if not, write to -** the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, -** MA 02110-1301, USA. -*/ - -/* -** Bug reports and questions can be sent to kde-pim@kde.org -*/ - - -#include <dcopobject.h> -#include <tqdatetime.h> -#include <tqstringlist.h> - -class PilotDaemonDCOP : virtual public DCOPObject -{ - K_DCOP -public: -k_dcop: - /** - * Start a HotSync. What kind of HotSync is determined - * by the int parameter (use the enum in kpilot.kcfg, or - * better yet, use requestSyncType and pass the name). - * Using a value of 0 (zero, which isn't a legal mode for - * sync actions) uses the configuration file default. - */ - virtual ASYNC requestSync(int) = 0; - /** - * Request a particular kind of sync next; pass in the name - * of a sync type instead. - */ - virtual ASYNC requestSyncType(TQString) = 0; - /** Shortcut for using requestSync(1) */ - virtual ASYNC requestRegularSyncNext() = 0; - /** Query what type is set most recently. */ - virtual int nextSyncType() const = 0; - /** Set the mix-ins (see SyncAction::SyncMode for details). */ - virtual ASYNC requestSyncOptions(bool test, bool local) = 0; - - /** - * Functions for the KPilot UI, indicating what the daemon - * should do. - */ - virtual ASYNC quitNow() = 0; - virtual ASYNC reloadSettings() = 0; // Indicate changed config file. - virtual ASYNC setTempDevice(TQString d) =0; // use this device - virtual void stopListening() = 0; - virtual void startListening() = 0; - virtual bool isListening() =0 ; - - /** - * Functions requesting the status of the daemon. - */ - virtual TQString statusString() = 0; - virtual TQString shortStatusString() = 0; - - /** - * Functions reporting same status data, e.g. for the kontact plugin. - */ - virtual TQDateTime lastSyncDate() = 0; - virtual TQStringList configuredConduitList() = 0; - virtual TQString logFileName() = 0; - virtual TQString userName() = 0; - virtual TQString pilotDevice() = 0; - virtual bool killDaemonOnExit() = 0; - - /** - * Some other useful functionality - */ - virtual void addInstallFiles(const TQStringList &) = 0; - - -k_dcop_signals: - void kpilotDaemonStatusChanged(); - // used to push status information - void kpilotDaemonStatusDetails( TQDateTime, TQString, TQStringList, TQString, TQString, TQString, bool ); -} ; - -#endif |