diff options
author | fluxgen <fluxgen> | 2002-07-27 18:03:39 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-07-27 18:03:39 (GMT) |
commit | 378c946d89569afcfe61fcafcf90fa0247673da9 (patch) | |
tree | 9daa18e5cd7c736d646064b3d73aa82d3913d92d /src/Keys.cc | |
parent | f62529b343890795d5eb75abc745e0ea7fe6479c (diff) | |
download | fluxbox_pavel-378c946d89569afcfe61fcafcf90fa0247673da9.zip fluxbox_pavel-378c946d89569afcfe61fcafcf90fa0247673da9.tar.bz2 |
doxygen comments and const correct fixes
Diffstat (limited to 'src/Keys.cc')
-rw-r--r-- | src/Keys.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Keys.cc b/src/Keys.cc index 00d6532..128ccf4 100644 --- a/src/Keys.cc +++ b/src/Keys.cc | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | //$Id: Keys.cc,v 1.16 2002/05/02 07:10:03 fluxgen Exp $ | 22 | //$Id: Keys.cc,v 1.17 2002/07/27 18:03:39 fluxgen Exp $ |
23 | 23 | ||
24 | #ifdef HAVE_CONFIG_H | 24 | #ifdef HAVE_CONFIG_H |
25 | #include "config.h" | 25 | #include "config.h" |
@@ -131,7 +131,7 @@ Keys::t_actionstr Keys::m_actionlist[] = { | |||
131 | {0, LASTKEYGRAB} | 131 | {0, LASTKEYGRAB} |
132 | }; | 132 | }; |
133 | 133 | ||
134 | Keys::Keys(Display *display, char *filename): | 134 | Keys::Keys(Display *display, const char *filename): |
135 | m_abortkey(0), | 135 | m_abortkey(0), |
136 | m_display(display) | 136 | m_display(display) |
137 | { | 137 | { |
@@ -175,7 +175,7 @@ void Keys::ungrabKeys() { | |||
175 | // Returns true on success else false | 175 | // Returns true on success else false |
176 | // TODO: error checking | 176 | // TODO: error checking |
177 | //------------------------------------ | 177 | //------------------------------------ |
178 | bool Keys::load(char *filename) { | 178 | bool Keys::load(const char *filename) { |
179 | if (!filename) | 179 | if (!filename) |
180 | return false; | 180 | return false; |
181 | 181 | ||
@@ -501,7 +501,7 @@ Keys::KeyAction Keys::getAction(XKeyEvent *ke) { | |||
501 | // deletes the tree and load configuration | 501 | // deletes the tree and load configuration |
502 | // returns true on success else false | 502 | // returns true on success else false |
503 | //----------------------------------- | 503 | //----------------------------------- |
504 | bool Keys::reconfigure(char *filename) { | 504 | bool Keys::reconfigure(const char *filename) { |
505 | deleteTree(); | 505 | deleteTree(); |
506 | return load(filename); | 506 | return load(filename); |
507 | } | 507 | } |