Source-highlight Library
instances.h
1 /*
2  * instances.h
3  *
4  * Created on: Aug 21, 2009
5  * Author: Lorenzo Bettini <http://www.lorenzobettini.it>, (C) 2009
6  * Copyright: See COPYING file that comes with this distribution
7  */
8 
9 #ifndef INSTANCES_H_
10 #define INSTANCES_H_
11 
12 namespace srchilite {
13 
14 class LangDefManager;
15 class LangMap;
16 
29 class Instances {
30 public:
35 
39  static LangMap *getLangMap();
40 
44  static LangMap *getOutLangMap();
45 
49  static void reload();
50 
56  static void unload();
57 };
58 
59 }
60 
61 #endif /* INSTANCES_H_ */
static void unload()
Deletes all static instances.
Definition: instances.cpp:59
static void reload()
Reloads files (using the new settings) for each single instances.
Definition: instances.cpp:47
This class contains static and singleton instances for some utility classes for LangDefManagers, LangMap, etc.
Definition: instances.h:29
C++ class: doctemplate.h.
Definition: bufferedoutput.cpp:13
Handles langdef language definition files.
Definition: langdefmanager.h:25
A map stored in a file with the format key = elem.
Definition: langmap.h:29
static LangMap * getOutLangMap()
Definition: instances.cpp:40
static LangMap * getLangMap()
Definition: instances.cpp:33
static LangDefManager * getLangDefManager()
Definition: instances.cpp:26