Re-add platform-specific headers and fix prototypes.

Originally committed to SVN as r5141.
This commit is contained in:
Amar Takhar 2011-01-08 15:24:35 +00:00
parent 9d5a2b41b5
commit c67fe6db5d
4 changed files with 13 additions and 13 deletions

View File

@ -29,11 +29,11 @@
#endif
#include "include/platform.h"
//#include "platform_windows.h"
#include "platform_windows.h"
#include "platform_unix.h"
#include "platform_unix_bsd.h"
//#include "platform_unix_linux.h"
//#include "platform_unix_osx.h"
#include "platform_unix_linux.h"
#include "platform_unix_osx.h"
extern "C" {
#ifdef __WXMAC__

View File

@ -29,11 +29,11 @@ public:
// Hardware
virtual std::string CPUId();
virtual std::string CPUSpeed();
virtual std::string CPUCores();
virtual std::string CPUCount();
virtual int CPUCores();
virtual int CPUCount();
virtual std::string CPUFeatures();
virtual std::string CPUFeatures2();
virtual std::string Memory();
virtual uint64_t Memory();
// Unix Specific
virtual std::string UnixLibraries();

View File

@ -29,11 +29,11 @@ public:
// Hardware
virtual std::string CPUId();
virtual std::string CPUSpeed();
virtual std::string CPUCores();
virtual std::string CPUCount();
virtual int CPUCores();
virtual int CPUCount();
virtual std::string CPUFeatures();
virtual std::string CPUFeatures2();
virtual std::string Memory();
virtual uint64_t Memory();
virtual std::string PatchLevel();
virtual std::string QuickTimeExt();

View File

@ -26,16 +26,16 @@ public:
PlatformWindows() {};
virtual ~PlatformWindows() {};
const std::string OSVersion();
std::string DesktopEnvironment();
const char* DesktopEnvironment();
// Hardware
virtual std::string CPUId();
virtual std::string CPUSpeed();
virtual std::string CPUCores();
virtual std::string CPUCount();
virtual int CPUCores();
virtual int CPUCount();
virtual std::string CPUFeatures();
virtual std::string CPUFeatures2();
virtual std::string Memory();
virtual uint64_t Memory();
// OpenGL
virtual std::string OpenGLVendor();