mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
Bazaar/SysExec : exported a couple of system info functions
git-svn-id: svn://ultimatepp.org/upp/trunk@3089 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
d35920972b
commit
43b13d7bc4
6 changed files with 118 additions and 82 deletions
22
bazaar/SysExec/SysInfo.h
Normal file
22
bazaar/SysExec/SysInfo.h
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#ifndef _SysExec_SysInfo_h_
|
||||
#define _SysExec_SysInfo_h_
|
||||
|
||||
#include <Core/Core.h>
|
||||
|
||||
NAMESPACE_UPP
|
||||
|
||||
#ifdef PLATFORM_WIN32
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////
|
||||
// utility functions to if running Vista or newer OSs
|
||||
bool IsVistaOrLater(void);
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////
|
||||
// check if user is running in admin mode
|
||||
bool IsUserAdministrator(void);
|
||||
|
||||
#endif
|
||||
|
||||
END_UPP_NAMESPACE
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue