cheshirekow  v0.1.0
init.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2012 Josh Bialkowski (jbialk@mit.edu)
3  *
4  * This file is part of cppfontconfig.
5  *
6  * cppfontconfig is free software: you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation, either version 3 of the License, or
9  * (at your option) any later version.
10  *
11  * cppfontconfig is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with cppfontconfig. If not, see <http://www.gnu.org/licenses/>.
18  */
27 #ifndef CPPFONTCONFIG_INIT_H_
28 #define CPPFONTCONFIG_INIT_H_
29 
30 #include <cpp_fontconfig/common.h>
31 #include <cpp_fontconfig/Config.h>
32 
33 namespace fontconfig
34 {
36 
40  RefPtr<Config> initLoadConfig();
41 
43 
47  RefPtr<Config> initLoadConfigAndFonts();
48 
50 
56  bool init();
57 
59 
65  void fini();
66 
68 
71  int getVersion();
72 
74 
81  bool initReinitialize();
82 
84 
91  bool initBringUptoDate();
92 }
93 
94 
95 
96 
97 
98 
99 
100 
101 
102 
103 
104 
105 
106 
107 #endif // INIT_H_
void fini()
finalize fontconfig library
bool initReinitialize()
re-initialize library
bool init()
initialize fontconfig library
int getVersion()
library version number
RefPtr< Config > initLoadConfig()
load configuration
bool initBringUptoDate()
reload configuration files if needed
RefPtr< Config > initLoadConfigAndFonts()
load configuration and font data