YSTest  PreAlpha_b400_20130424
The YSLib Test Project
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
Initialization.h
浏览该文件的文档.
1 /*
2  Copyright by FrankHB 2009 - 2013.
3 
4  This file is part of the YSLib project, and may only be used,
5  modified, and distributed under the terms of the YSLib project
6  license, LICENSE.TXT. By continuing to use, modify, or distribute
7  this file you indicate that you have read the license and
8  understand and accept it fully.
9 */
10 
28 #ifndef INC_Helper_Initialization_h_
29 #define INC_Helper_Initialization_h_ 1
30 
31 #include "NPL/Configuration.h"
32 #include "YSLib/Service/yftext.h"
33 #include "YSLib/Adaptor/Font.h" // for Drawing::FontCache;
34 
36 
42 HandleFatalError(const FatalError&) ynothrow;
43 
44 
52 
58 YF_API void
59 WriteConfiguration(TextFile&, const ValueNode&);
60 
68 YF_API ValueNode
69 LoadConfiguration(bool bInfo = false);
70 
76 YF_API void
77 SaveConfiguration(const ValueNode&);
78 
79 
84 YF_API void
86 
93 YF_API ValueNode
95 
103 YF_API void
104 InitializeSystemFontCache(Drawing::FontCache&, const string&, const string&);
105 
113 YF_API void
114 Uninitialize() ynothrow;
115 
116 YSL_END
117 
118 #endif
119