edelib: edelib/Util.h Source File

edelib 1.0

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List

Util.h
1 /*
2 * $Id: Util.h 2839 2009-09-28 11:36:20Z karijes $
3 *
4 * Various functions
5 * Copyright (c) 2005-2007 edelib authors
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version.
11 *
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public License
18 * along with this library. If not, see <http://www.gnu.org/licenses/>.
19 */
20
21 #ifndef __EDELIB_UTIL_H__
22 #define __EDELIB_UTIL_H__
23
24 #include "String.h"
25 #include "List.h"
26
27 EDELIB_NS_BEGIN
28
37 EDELIB_API String user_config_dir(void);
38
47 EDELIB_API String user_data_dir(void);
48
57 EDELIB_API String user_cache_dir(void);
58
66 EDELIB_API int system_config_dirs(list<String>& lst);
67
75 EDELIB_API int system_data_dirs(list<String>& lst);
76
113 EDELIB_API String build_filename(const char* p1, const char* p2 = NULL, const char* p3 = NULL);
114
115 EDELIB_NS_END
116 #endif
edelib::build_filename
String build_filename(const char *p1, const char *p2=((void *) 0), const char *p3=((void *) 0))
edelib::user_config_dir
String user_config_dir(void)
edelib::system_config_dirs
int system_config_dirs(list< String > &lst)
edelib::user_data_dir
String user_data_dir(void)
edelib::system_data_dirs
int system_data_dirs(list< String > &lst)
edelib::user_cache_dir
String user_cache_dir(void)