00001 //--------------------------------------------------------------------------------------------- 00002 // This file is a part of "DinoKod". 00003 // Copyright © 2003 Dino Productions. All Rights Reserved. 00004 // 00005 // File : Time.h 00006 // Author : Sebastien LEIX sebastien.leix@wanadoo.fr 00007 // Date : 07/09/2003 00008 // Modification : 00009 // 00010 //--------------------------------------------------------------------------------------------------------------------- 00011 #ifndef __TIME_H__ 00012 #define __TIME_H__ 00013 00014 #include "Common/CommonDll.h" 00015 #include "Common/Types.h" 00016 00017 //--------------------------------------------------------------------------------------------------------------------- 00018 class COMMON_API KTime 00019 { 00020 protected: 00021 s64 m_Frequency; 00022 KTIME m_Time; 00023 00024 public: 00025 KTime(); 00026 00027 KTIME GetTime(); 00028 KTIME GetRealTime(); 00029 void RefreshTime(); 00030 }; 00031 00032 //--------------------------------------------------------------------------------------------------------------------- 00033 extern COMMON_API KTime g_Time; 00034 00035 #endif __TIME_H__
1.5.1-p1