1 #ifndef __REGISTRYTOOL_H__
2 #define __REGISTRYTOOL_H__
3 /**
4 * Inkscape Registry Tool
5 *
6 * This simple tool is intended for allowing Inkscape to append subdirectories
7 * to its path. This will allow extensions and other files to be accesses
8 * without explicit user intervention.
9 *
10 * Authors:
11 * Bob Jamison
12 *
13 * Copyright (C) 2005 Bob Jamison
14 *
15 * This library is free software; you can redistribute it and/or
16 * modify it under the terms of the GNU Lesser General Public
17 * License as published by the Free Software Foundation; either
18 * version 2.1 of the License, or (at your option) any later version.
19 *
20 * This library is distributed in the hope that it will be useful,
21 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
23 * Lesser General Public License for more details.
24 *
25 * You should have received a copy of the GNU Lesser General Public
26 * License along with this library; if not, write to the Free Software
27 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
28 */
30 #include <string>
31 #include <glibmm.h>
33 class RegistryTool
34 {
35 public:
37 RegistryTool()
38 {}
40 virtual ~RegistryTool()
41 {}
43 bool setStringValue(const Glib::ustring &key,
44 const Glib::ustring &valueName,
45 const Glib::ustring &value);
47 bool getExeInfo(Glib::ustring &fullPath,
48 Glib::ustring &path,
49 Glib::ustring &exeName);
51 bool setPathInfo();
54 };
56 #endif /* __REGISTRYTOOL_H__ */