kstars
simclockinterface.h
Go to the documentation of this file.00001 /*************************************************************************** 00002 simclockinterface.h - description 00003 ------------------- 00004 begin : Mon Feb 18 2002 00005 copyright : (C) 2002 by Mark Hollomon 00006 email : mhh@mindspring.com 00007 ***************************************************************************/ 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 ***************************************************************************/ 00017 00018 #ifndef KSTARS_SIMCLOCKIF_H_ 00019 #define KSTARS_SIMCLOCKIF_H_ 00020 00021 #include <dcopobject.h> 00022 00023 #include "kstarsdatetime.h" 00024 00031 class SimClockInterface : virtual public DCOPObject { 00032 K_DCOP 00033 00034 k_dcop: 00037 virtual ASYNC stop() = 0; 00038 00041 virtual ASYNC start() = 0; 00042 00046 virtual ASYNC setUTC(const KStarsDateTime &newtime) = 0; 00047 00052 virtual ASYNC setClockScale(float s) = 0; 00053 }; 00054 00055 #endif