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
12namespace srchilite {
13
14class LangDefManager;
15class LangMap;
16
29class Instances {
30public:
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_ */
This class contains static and singleton instances for some utility classes for LangDefManagers,...
Definition: instances.h:29
static void reload()
Reloads files (using the new settings) for each single instances.
Definition: instances.cpp:47
static LangDefManager * getLangDefManager()
Definition: instances.cpp:26
static LangMap * getOutLangMap()
Definition: instances.cpp:40
static void unload()
Deletes all static instances.
Definition: instances.cpp:59
static LangMap * getLangMap()
Definition: instances.cpp:33
Handles langdef language definition files.
Definition: langdefmanager.h:25
A map stored in a file with the format key = elem.
Definition: langmap.h:29
C++ class: doctemplate.h.
Definition: bufferedoutput.cpp:13