aboutsummaryrefslogtreecommitdiff
path: root/src/paths.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/paths.hh')
-rw-r--r--src/paths.hh27
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__ */