source: trunk/src/forge.h @ 2437

Last change on this file since 2437 was 2437, checked in by sam, 7 years ago

base: prevent instantiation of several static-only classes.

  • Property svn:keywords set to Id
File size: 726 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://www.wtfpl.net/ for more details.
9//
10
11//
12// The Forge class
13// ---------------
14// The Forge is a static class that manages fonts.
15//
16
17#if !defined __LOL_FORGE_H__
18#define __LOL_FORGE_H__
19
20#include "font.h"
21
22namespace lol
23{
24
25class Forge
26{
27public:
28    static int Register(char const *path);
29    static void Deregister(int id);
30    static Font *GetFont(int id);
31
32private:
33    Forge() {}
34};
35
36} /* namespace lol */
37
38#endif // __LOL_FORGE_H__
39
Note: See TracBrowser for help on using the repository browser.