00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef __TIMESERVERSESSION_H__
00018 #define __TIMESERVERSESSION_H__
00019
00020
00021 #include <e32base.h>
00022
00023
00024
00025
00026
00027 static const TUint KDefaultMessageSlots = 0;
00028
00029
00030 const TUid KServerUid3 = { 0xA00001FC };
00031
00032 _LIT( KTimeServerFilename, "CSSyncServer.EXE" );
00033
00034 #ifdef __WINS__
00035 static const TUint KServerMinHeapSize = 0x1000;
00036 static const TUint KServerMaxHeapSize = 0x10000;
00037 #endif
00038
00039
00044 class RTimeServerSession : public RSessionBase
00045 {
00046 public:
00047
00052 RTimeServerSession();
00053
00054 public:
00055
00061 TInt Connect();
00062
00068 TVersion Version() const;
00069
00075 void RequestTime( TTime& aTime ) const;
00076
00077 };
00078
00079 #endif // __TIMESERVERSESSION_H__
00080
00081
00082