| 1 | /*************************************************************************** |
| 2 | CSdl.h - description |
| 3 | ------------------- |
| 4 | begin : November 1st, 2009 |
| 5 | copyright : (C) 2009 by Duong Khang NGUYEN |
| 6 | email : neoneurone @ gmail com |
| 7 | |
| 8 | $Id: CSdl.h 426 2009-11-22 17:42:38Z neoneurone $ |
| 9 | ***************************************************************************/ |
| 10 | |
| 11 | /*************************************************************************** |
| 12 | * * |
| 13 | * This program is free software; you can redistribute it and/or modify * |
| 14 | * it under the terms of the GNU General Public License as published by * |
| 15 | * the Free Software Foundation; either version 2 of the License, or * |
| 16 | * any later version. * |
| 17 | * * |
| 18 | ***************************************************************************/ |
| 19 | |
| 20 | #ifndef _SPF_SYSTEM_INFORMATION_SOFTWARE_CSDL_H_ |
| 21 | #define _SPF_SYSTEM_INFORMATION_SOFTWARE_CSDL_H_ 1 |
| 22 | |
| 23 | // Framework headers |
| 24 | #include "System/CObject.h" |
| 25 | |
| 26 | SPF_NAMESPACE_BEGIN(System) |
| 27 | |
| 28 | // Forward System::String class declaration |
| 29 | class String; |
| 30 | |
| 31 | SPF_NAMESPACE_NESTED_BEGIN(Information, Software) |
| 32 | |
| 33 | /** |
| 34 | Provides the information about the linked SDL library. |
| 35 | */ |
| 36 | class Sdl : public Object |
| 37 | { |
| 38 | public: |
| 39 | Sdl(); |
| 40 | virtual ~Sdl(); |
| 41 | |
| 42 | virtual String ToString() const; |
| 43 | |
| 44 | /** |
| 45 | Gets the SDL library's compile-time version. |
| 46 | */ |
| 47 | static const String GetCompiletimeVersion(); |
| 48 | |
| 49 | /** |
| 50 | Gets the SDL library's run-time version. |
| 51 | */ |
| 52 | static const String GetRuntimeVersion(); |
| 53 | |
| 54 | |
| 55 | }; // class System::Sdl |
| 56 | |
| 57 | SPF_NAMESPACE_NESTED_END |
| 58 | SPF_NAMESPACE_END |
| 59 | |
| 60 | #endif |