00001 00011 #ifndef __Platform_Time_H__ 00012 #define __Platform_Time_H__ 00013 00014 // Includes 00015 #include "Platform.h" 00016 00017 // Forward declares 00018 00019 // Platform_Time 00020 class Platform_Time 00021 { 00022 public: 00026 virtual ~Platform_Time() { }; 00027 00028 00034 virtual float GetTime() = 0; 00035 00036 00040 struct SystemTime 00041 { 00042 short year; 00043 char month; 00044 char day; 00045 char dayOfWeek; 00046 char hour; 00047 char minute; 00048 char second; 00049 }; 00050 00058 virtual SystemTime GetSystemTime( 00059 bool utcTime = false 00060 ) = 0; 00061 }; 00062 00063 00064 00065 #endif /* __Platform_Time_H__ */