summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e803981)
raw | patch | inline | side by side (parent: e803981)
author | ishmal <ishmal@users.sourceforge.net> | |
Wed, 4 Jun 2008 17:43:36 +0000 (17:43 +0000) | ||
committer | ishmal <ishmal@users.sourceforge.net> | |
Wed, 4 Jun 2008 17:43:36 +0000 (17:43 +0000) |
src/knot-holder-entity.h | patch | blob | history | |
src/registrytool.cpp | patch | blob | history |
index 287c9c64da61e5d63aba32d511bd6b9d57c419f7..5c273fe29a5a2918b644b62e533dac0838a0aef3 100644 (file)
--- a/src/knot-holder-entity.h
+++ b/src/knot-holder-entity.h
should be derived from KnotHolderEntity and override these functions */
virtual void knot_set(NR::Point const &p, NR::Point const &origin, guint state) = 0;
virtual NR::Point knot_get() = 0;
- virtual void knot_click(guint state) {}
+ virtual void knot_click(guint /*state*/) {}
void update_knot();
diff --git a/src/registrytool.cpp b/src/registrytool.cpp
index 84af86effe53c139a595a8706f638bd0fa217623..8bc9cbebf6e4b3520ab014c2e8ba1b8b88b35e93 100644 (file)
--- a/src/registrytool.cpp
+++ b/src/registrytool.cpp
* Authors:
* Bob Jamison
*
- * Copyright (C) 2005 Bob Jamison
+ * Copyright (C) 2005-2008 Bob Jamison
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
typedef struct
{
- HKEY key;
- int strlen;
- char *str;
+ HKEY key;
+ int strlen;
+ const char *str;
} KeyTableEntry;
{ NULL, 0, NULL }
};
+
+/**
+ * Set the string value of a key/name registry entry
+ */
bool RegistryTool::setStringValue(const Glib::ustring &keyNameArg,
const Glib::ustring &valueName,
const Glib::ustring &value)
return true;
}
+
+
+/**
+ * Get the full path, directory, and base file name of this running executable
+ */
bool RegistryTool::getExeInfo(Glib::ustring &fullPath,
Glib::ustring &path,
Glib::ustring &exeName)
}
+
+/**
+ * Append our subdirectories to the Application Path for this
+ * application
+ */
bool RegistryTool::setPathInfo()
{
Glib::ustring fullPath;
#ifdef TESTREG
+
+/**
+ * Compile this file with
+ * g++ -DTESTREG registrytool.cpp -o registrytool
+ * to run these tests.
+ */
+
+
+
void testReg()
{
RegistryTool rt;