00001 /* 00002 Gel2D Game Engine - Cross-platform 2D gaming middleware 00003 Copyright (C) 2011 Mark D. Procarione 00004 00005 Gel2D is free software: you can redistribute it and/or modify 00006 it under the terms of the GNU General Public License as published by 00007 the Free Software Foundation, either version 3 of the License, or 00008 (at your option) any later version. 00009 00010 Gel2D is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 GNU General Public License for more details. 00014 */ 00015 00016 #ifndef __GELSYSTEM_H__ 00017 #define __GELSYSTEM_H__ 00018 00019 #include "gelNamespace.h" 00020 00021 namespace gel 00022 { 00026 00027 class GelSysInfo 00028 { 00029 public: 00031 static int numOfProcessors(); 00032 00034 static int processorType(); 00035 00037 00038 static int totalMemory(); 00039 00041 00042 static int availableMemory(); 00043 }; 00044 00046 class GelPowerInfo 00047 { 00048 public: 00050 00051 static PowerSource getPowerSource(); 00052 00054 00055 static BatteryStatus getBatteryStatus(); 00056 00058 00061 static int getBatteryLifePercent(); 00062 }; 00064 } 00065 00066 #endif // __GELSYSTEM_H__
API Documentation by Mark D. Procarione | Generated by |