PlatformInfo.h

00001 /* START_LICENSE_HEADER
00002 
00003 Copyright (C) 2000 Martin Piper, original design and program code
00004 Copyright (C) 2001 Replica Software
00005 
00006 This program file is copyright (C) Replica Software and can only be used under license.
00007 For more information visit: http://www.replicanet.com/
00008 Or email: info@replicanet.com
00009 
00010 END_LICENSE_HEADER */
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 } // namespace RNReplicaNet
00066 
00067 #endif

Generated on Sat Jun 28 22:02:16 2008 for ReplicaNet and RNLobby by  doxygen 1.5.3