X-Git-Url: https://git.syn-net.org/debian/?a=blobdiff_plain;f=src%2FsignalController.h;h=6108bea9bae1804addbe40b4a9966b023b125c5a;hb=7af29a758723cc25f12f46de0e54bae7ccd3be50;hp=575b50bbe98992006e1055871176588d2f0a323d;hpb=058ae090a970436caec3b3059e9e18b310dd6b0d;p=anytun.git diff --git a/src/signalController.h b/src/signalController.h index 575b50b..6108bea 100644 --- a/src/signalController.h +++ b/src/signalController.h @@ -11,14 +11,15 @@ * tunneling and relaying of packets of any protocol. * * - * Copyright (C) 2007-2008 Othmar Gsenger, Erwin Nindl, + * Copyright (C) 2007-2009 Othmar Gsenger, Erwin Nindl, * Christian Pointner * * This file is part of Anytun. * * Anytun is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 3 as - * published by the Free Software Foundation. + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. * * Anytun is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -29,8 +30,8 @@ * along with anytun. If not, see . */ -#ifndef _SIGNAL_CONTROLLER_H_ -#define _SIGNAL_CONTROLLER_H_ +#ifndef ANYTUN_signalController_h_INCLUDED +#define ANYTUN_signalController_h_INCLUDED #include #include @@ -164,11 +165,7 @@ public: private: typedef std::map HandlerMap; -#ifndef _MSC_VER - SignalController() : thread(NULL) {}; -#else SignalController() {}; -#endif ~SignalController(); SignalController(const SignalController &s); void operator=(const SignalController &s); @@ -188,9 +185,6 @@ private: Mutex sigQueueMutex; Semaphore sigQueueSem; -#ifndef _MSC_VER - boost::thread* thread; -#endif HandlerMap handler; };