Source-highlight Library
|
This class contains static and singleton instances for some utility classes for LangDefManagers, LangMap, etc. More...
#include <instances.h>
Static Public Member Functions | |
static LangDefManager * | getLangDefManager () |
static LangMap * | getLangMap () |
static LangMap * | getOutLangMap () |
static void | reload () |
Reloads files (using the new settings) for each single instances. | |
static void | unload () |
Deletes all static instances. More... | |
This class contains static and singleton instances for some utility classes for LangDefManagers, LangMap, etc.
Using this class ensures to use always the same instance for doing these tasks, and if you change the global settings, through Settings, you can reload() the files of these instances using the new settings, thus enforcing consistency within a program using this library.
|
static |
|
static |
|
static |
|
static |
Deletes all static instances.
This is not necessary, but if you're sure you're not using the library anymore in your program, you can free some memory.