moved kdeaccessibility kdeaddons kdeadmin kdeartwork kdebindings kdeedu kdegames...
[kdeedu.git] / kstars / kstars / simclockinterface.h
blob87ebad9988064a78425d4b578cf5f0ddec90d7f1
1 /***************************************************************************
2 simclockinterface.h - description
3 -------------------
4 begin : Mon Feb 18 2002
5 copyright : (C) 2002 by Mark Hollomon
6 email : mhh@mindspring.com
7 ***************************************************************************/
9 /***************************************************************************
10 * *
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
15 * *
16 ***************************************************************************/
18 #ifndef KSTARS_SIMCLOCKIF_H_
19 #define KSTARS_SIMCLOCKIF_H_
21 #include <dcopobject.h>
23 #include "kstarsdatetime.h"
25 /**@class SimclockInterface
26 *DCOP functions for the KSTars simulation clock.
27 *@author Mark Hollomon
28 *@version 1.0
31 class SimClockInterface : virtual public DCOPObject {
32 K_DCOP
34 k_dcop:
35 /**Stop the clock
37 virtual ASYNC stop() = 0;
39 /**Start the clock
41 virtual ASYNC start() = 0;
43 /**Set the clock to the given ExtDateTime value.
44 *@p newtime the time/date to adopt
46 virtual ASYNC setUTC(const KStarsDateTime &newtime) = 0;
48 /**Set the clock scale (the number of simulation seconds that
49 *pass per real-time second.
50 *@p s the new timescale factor
52 virtual ASYNC setClockScale(float s) = 0;
55 #endif