00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef __PLATFORMINFO_H__
00012 #define __PLATFORMINFO_H__
00013 #include "RNPlatform/Inc/DLLExportAPI.h"
00014 #include "RNPlatform/Inc/Thread.h"
00015
00016 namespace RNReplicaNet
00017 {
00018
00022 class REPNETEXPORTAPI PlatformInfo
00023 {
00024 public:
00029 static bool IsThreaded(void);
00030
00035 static bool IsLittleEndian(void);
00036
00041 static void SetThreaded(const bool allow);
00042
00047 static void SetProcessorReplicaNet(const int processor = kReplicaNetPreferredProcessorOSChoice);
00048 static int GetProcessorReplicaNet(void);
00049
00054 static void SetProcessorXPSession(const int processor = kReplicaNetPreferredProcessorOSChoice);
00055 static int GetProcessorXPSession(void);
00056
00061 static void SetProcessorXPURL(const int processor = kReplicaNetPreferredProcessorOSChoice);
00062 static int GetProcessorXPURL(void);
00063 };
00064
00065 }
00066
00067 #endif