diff options
author | Tim Nieradzik, Jorge Arellano Cid <devnull@localhost> | 2009-04-28 08:32:47 -0400 |
---|---|---|
committer | Tim Nieradzik, Jorge Arellano Cid <devnull@localhost> | 2009-04-28 08:32:47 -0400 |
commit | 25308249920a3f0bf194569193ddf369ff19e480 (patch) | |
tree | e250e306df1031bf532cd154e68ea415431e16c2 /src/paths.hh | |
parent | 3b8078f51c75b6d9160688c544db60729df83e90 (diff) |
Refactor the preferences parser
Diffstat (limited to 'src/paths.hh')
-rw-r--r-- | src/paths.hh | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/paths.hh b/src/paths.hh new file mode 100644 index 00000000..111a269c --- /dev/null +++ b/src/paths.hh @@ -0,0 +1,27 @@ +/* + * File: paths.hh + * + * Copyright 2006-2009 Jorge Arellano Cid <jcid@dillo.org> + * + * This program 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. + */ + +#ifndef __PATHS_HH__ +#define __PATHS_HH__ + +#define PATHS_RC_PREFS "dillorc" +#define PATHS_RC_KEYS "keysrc" +#define PATHS_RC_SYS "/etc/dillo/" + +class Paths { +public: + static void init(void); + static void free(void); + static char *getOldWorkingDir(void); + static FILE *getPrefsFP(const char *rcFile); +}; + +#endif /* __PATHS_HH__ */ |