edelib 2.1.0
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
27EDELIB_NS_BEGIN
28
37EDELIB_API String user_config_dir(void);
38
47EDELIB_API String user_data_dir(void);
48
57EDELIB_API String user_cache_dir(void);
58
66EDELIB_API int system_config_dirs(list<String>& lst);
67
75EDELIB_API int system_data_dirs(list<String>& lst);
76
113EDELIB_API String build_filename(const char* p1, const char* p2 = NULL, const char* p3 = NULL);
114
115EDELIB_NS_END
116#endif
A (relatively simple) string implementation.
Definition String.h:82
Linked list class.
Definition List.h:160
int system_data_dirs(list< String > &lst)
String user_config_dir(void)
int system_config_dirs(list< String > &lst)
String build_filename(const char *p1, const char *p2=((void *) 0), const char *p3=((void *) 0))
String user_cache_dir(void)
String user_data_dir(void)