source: trunk/src/platform.h @ 749

Last change on this file since 749 was 749, checked in by sam, 9 years ago

ui: add a Platform class to query information about the current platform.
Implement GetMouseCount() to query the number of mice on the system.

  • Property svn:keywords set to Id
File size: 661 bytes
Line 
1//
2// Lol Engine
3//
4// Copyright: (c) 2010-2011 Sam Hocevar <sam@hocevar.net>
5//   This program is free software; you can redistribute it and/or
6//   modify it under the terms of the Do What The Fuck You Want To
7//   Public License, Version 2, as published by Sam Hocevar. See
8//   http://sam.zoy.org/projects/COPYING.WTFPL for more details.
9//
10
11//
12// The Platform interface
13// ----------------------
14// Helper functions to set up the platform.
15//
16
17#if !defined __LOL_PLATFORM_H__
18#define __LOL_PLATFORM_H__
19
20#include <stdint.h>
21
22namespace lol
23{
24
25class Platform
26{
27public:
28    static int GetMouseCount();
29};
30
31} /* namespace lol */
32
33#endif // __LOL_PLATFORM_H__
34
Note: See TracBrowser for help on using the repository browser.