Util.h
/*
* $Id: Util.h 2839 2009-09-28 11:36:20Z karijes $
*
* Various functions
* Copyright (c) 2005-2007 edelib authors
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __EDELIB_UTIL_H__
#define __EDELIB_UTIL_H__
#include "String.h"
#include "List.h"
EDELIB_NS_BEGIN
EDELIB_API String user_config_dir(void);
EDELIB_API String user_data_dir(void);
EDELIB_API String user_cache_dir(void);
EDELIB_API int system_config_dirs(list<String>& lst);
EDELIB_API int system_data_dirs(list<String>& lst);
EDELIB_API String build_filename(const char* p1, const char* p2 = NULL, const char* p3 = NULL);
EDELIB_NS_END
#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)