Patch level :10.0

Files correlati     :
Ricompilazione Demo : [ ]
Commento            :aggiunti metodi per la compilazione di xvaga copiati da guy


git-svn-id: svn://10.65.10.50/trunk@16837 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
luca 2008-07-02 14:47:51 +00:00
parent e9caf569dd
commit db7ec94948
2 changed files with 8 additions and 0 deletions

View File

@ -3810,6 +3810,13 @@ int xvt_sys_get_os_version()
return os;
}
int xvt_sys_get_version(char* os_version, char* ptk_version, int maxsize)
{
wxStrncpy(os_version, wxGetOsDescription(), maxsize);
wxStrncpy(ptk_version, wxVERSION_STRING, maxsize);
return xvt_sys_get_os_version();
}
void xvt_sys_sleep(unsigned long msec)
{
::wxMilliSleep(msec);

View File

@ -374,6 +374,7 @@ XVTDLL int xvt_sys_get_session_id();
XVTDLL unsigned long xvt_sys_get_free_memory();
XVTDLL unsigned long xvt_sys_get_free_memory_kb();
XVTDLL int xvt_sys_get_os_version();
XVTDLL int xvt_sys_get_version(char* os_version, char* ptk_version, int maxsize);
XVTDLL unsigned int xvt_sys_load_icon(const char* file);
XVTDLL void xvt_sys_sleep(unsigned long msec);
XVTDLL BOOLEAN xvt_sys_test_network_version();