diff options
author | James Booth <boothj5@gmail.com> | 2012-11-25 21:40:49 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2012-11-25 21:40:49 +0000 |
commit | 4b73f3d7f92e3af6e7ebf3a9551477820024d9d3 (patch) | |
tree | 17fdae49e46c5860d993a906ba80fcbc87506a34 /src/xdg_base.h | |
parent | 7ea02c718225e1d5701fd686bd2c3718d8327235 (diff) | |
download | profani-tty-4b73f3d7f92e3af6e7ebf3a9551477820024d9d3.tar.gz |
Profanity files now use %XDG_CONFIG_HOME and %XDG_DATA_HOME
Diffstat (limited to 'src/xdg_base.h')
-rw-r--r-- | src/xdg_base.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/xdg_base.h b/src/xdg_base.h new file mode 100644 index 00000000..80c8f409 --- /dev/null +++ b/src/xdg_base.h @@ -0,0 +1,31 @@ +/* + * xdg_base.h + * + * Copyright (C) 2012 James Booth <boothj5@gmail.com> + * + * This file is part of Profanity. + * + * Profanity is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Profanity 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Profanity. If not, see <http://www.gnu.org/licenses/>. + * + */ + +#ifndef XDG_BASE_H +#define XDG_BASE_H + +#include <glib.h> + +gchar* xdg_get_config_home(void); +gchar* xdg_get_data_home(void); + +#endif |