2006-12-03 Dimitris Glezos <dimitris@glezos.com>
[dia.git] / lib / dia_dirs.h
bloba2df6c686df18ddd5f109d628ce1b754b9f79e1e
1 /* Dia -- an diagram creation/manipulation program
2 * Copyright (C) 1998 Alexander Larsson
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19 #ifndef DIA_DIRS_H
20 #define DIA_DIRS_H
22 #include <glib.h>
24 #ifdef G_OS_WIN32
25 #define DIA_SHEETDIR "sheets"
26 #define DIA_SHAPEDIR "shapes"
27 #define DIA_INT_SHAPEDIR DIA_SHEETDIR G_DIR_SEPARATOR_S "int"
28 #endif
30 gchar *dia_get_data_directory (const gchar* subdir);
31 gchar *dia_get_lib_directory (const gchar* subdir);
32 gchar *dia_config_filename (const gchar* file);
33 gboolean dia_config_ensure_dir (const gchar* filename);
34 gchar *dia_get_absolute_filename (const gchar *filename);
35 const gchar *dia_message_filename (const gchar *filename);
37 #endif /* DIA_DIRS_H */