aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/SignalHandler.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-05-13 11:41:29 (GMT)
committerfluxgen <fluxgen>2003-05-13 11:41:29 (GMT)
commite97f8d7816ee36e057082fc17fda61843f711fa2 (patch)
tree25c0dd364ff88be56e0f23a11e6473043b054ef6 /src/FbTk/SignalHandler.cc
parentb83b826bfb8796ba102a25592e9dc01aabdc22da (diff)
downloadfluxbox-e97f8d7816ee36e057082fc17fda61843f711fa2.zip
fluxbox-e97f8d7816ee36e057082fc17fda61843f711fa2.tar.bz2
minor changes
Diffstat (limited to 'src/FbTk/SignalHandler.cc')
-rw-r--r--src/FbTk/SignalHandler.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/FbTk/SignalHandler.cc b/src/FbTk/SignalHandler.cc
index adbcbc0..6dbbf49 100644
--- a/src/FbTk/SignalHandler.cc
+++ b/src/FbTk/SignalHandler.cc
@@ -1,5 +1,5 @@
1// SignalHandler.cc for Fluxbox Window Manager 1// SignalHandler.cc for FbTk - Fluxbox ToolKit
2// Copyright (c) 2002 Henrik Kinnunen (fluxgen@linuxmail.org) 2// Copyright (c) 2002 - 2003 Henrik Kinnunen (fluxgen(at)users.sourceforge.net)
3// 3//
4// Permission is hereby granted, free of charge, to any person obtaining a 4// Permission is hereby granted, free of charge, to any person obtaining a
5// copy of this software and associated documentation files (the "Software"), 5// copy of this software and associated documentation files (the "Software"),
@@ -13,13 +13,13 @@
13// 13//
14// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 16// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
17// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 18// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
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: SignalHandler.cc,v 1.3 2002/12/01 13:42:14 rathnor Exp $ 22// $Id: SignalHandler.cc,v 1.4 2003/05/13 11:41:29 fluxgen Exp $
23 23
24#include "SignalHandler.hh" 24#include "SignalHandler.hh"
25 25
@@ -33,9 +33,9 @@ SignalHandler::SignalHandler() {
33 s_signal_handler[i] = 0; 33 s_signal_handler[i] = 0;
34} 34}
35 35
36SignalHandler *SignalHandler::instance() { 36SignalHandler &SignalHandler::instance() {
37 static SignalHandler singleton; 37 static SignalHandler singleton;
38 return &singleton; 38 return singleton;
39} 39}
40 40
41bool SignalHandler::registerHandler(int signum, SignalEventHandler *eh, 41bool SignalHandler::registerHandler(int signum, SignalEventHandler *eh,