Code

new files
[inkscape.git] / src / registrytool.h
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>
32 class RegistryTool
33 {
34 public:
36     RegistryTool()
37         {}
39     virtual ~RegistryTool()
40         {}
42     bool setStringValue(const std::string &key,
43                         const std::string &valueName,
44                         const std::string &value);
46     bool getExeInfo(std::string &fullPath,
47                     std::string &path,
48                     std::string &exeName);
50     bool setPathInfo();
53 };
55 #endif  /* __REGISTRYTOOL_H__ */