From 3bfbc9d92b060829db19fcf9d95d485914cfe46b Mon Sep 17 00:00:00 2001 From: Anders Bakken Date: Mon, 23 Feb 2015 22:03:26 -0800 Subject: [PATCH] This is not used. --- src/ExitMessage.h | 48 ----------------------------------------------- 1 file changed, 48 deletions(-) delete mode 100644 src/ExitMessage.h diff --git a/src/ExitMessage.h b/src/ExitMessage.h deleted file mode 100644 index e288010f5..000000000 --- a/src/ExitMessage.h +++ /dev/null @@ -1,48 +0,0 @@ -/* This file is part of RTags. - - RTags is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - RTags is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with RTags. If not, see . */ - -#ifndef ExitCommand_h -#define ExitCommand_h - -#include "RTagsMessage.h" - -class ExitMessage : public RTagsMessage -{ -public: - enum { MessageId = ExitMessageId }; - - ExitMessage(int exitCode = 0, bool forward = false) - : RTagsMessage(MessageId), mExitCode(exitCode), mForward(forward) - { - } - - int exitCode() const { return mExitCode; } - bool forward() const { return mForward; } - - virtual void encode(Serializer &serializer) const - { - serializer << mExitCode << mForward; - } - virtual void decode(Deserializer &deserializer) - { - deserializer >> mExitCode >> mForward; - } -private: - int mExitCode; - bool mForward; -}; - -#endif -