1 | /* |
---|
2 | * Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation |
---|
3 | * 2001 SuSE Linux AG |
---|
4 | * All rights reserved. |
---|
5 | * |
---|
6 | * This file is part of GNOME 2.0. |
---|
7 | * |
---|
8 | * The Gnome Library is free software; you can redistribute it and/or |
---|
9 | * modify it under the terms of the GNU Library General Public License as |
---|
10 | * published by the Free Software Foundation; either version 2 of the |
---|
11 | * License, or (at your option) any later version. |
---|
12 | * |
---|
13 | * The Gnome Library is distributed in the hope that it will be useful, |
---|
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
16 | * Library General Public License for more details. |
---|
17 | * |
---|
18 | * You should have received a copy of the GNU Library General Public |
---|
19 | * License along with the Gnome Library; see the file COPYING.LIB. If not, |
---|
20 | * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
---|
21 | * Boston, MA 02111-1307, USA. |
---|
22 | */ |
---|
23 | /* |
---|
24 | @NOTATION@ |
---|
25 | */ |
---|
26 | |
---|
27 | #ifndef LIBGNOMEINIT_H |
---|
28 | #define LIBGNOMEINIT_H |
---|
29 | |
---|
30 | #include <libgnome/gnome-program.h> |
---|
31 | |
---|
32 | G_BEGIN_DECLS |
---|
33 | |
---|
34 | /* This is where the user specific files are stored under $HOME |
---|
35 | * (do not use these macros; use gnome_user_dir_get(); it's possible |
---|
36 | * to override .gnome2 via environment variable and this is |
---|
37 | * an important feature for environments that mix GNOME versions) |
---|
38 | */ |
---|
39 | #define GNOME_DOT_GNOME ".gnome2/" |
---|
40 | #define GNOME_DOT_GNOME_PRIVATE ".gnome2_private/" |
---|
41 | |
---|
42 | #define LIBGNOME_MODULE libgnome_module_info_get() |
---|
43 | const GnomeModuleInfo *libgnome_module_info_get (void) G_GNUC_CONST; |
---|
44 | #define GNOME_BONOBO_MODULE gnome_bonobo_module_info_get() |
---|
45 | const GnomeModuleInfo * gnome_bonobo_module_info_get (void) G_GNUC_CONST; |
---|
46 | |
---|
47 | const char *gnome_user_dir_get (void) G_GNUC_CONST; |
---|
48 | const char *gnome_user_private_dir_get (void) G_GNUC_CONST; |
---|
49 | const char *gnome_user_accels_dir_get (void) G_GNUC_CONST; |
---|
50 | |
---|
51 | G_END_DECLS |
---|
52 | |
---|
53 | #endif /* LIBGNOMEINIT_H */ |
---|