/* * Copyright (c) 2010 Kevin Smith * Licensed under the GNU General Public License v3. * See Documentation/Licenses/GPLv3.txt for more information. */ #pragma once #include #include namespace Swift { class StanzaEvent { public: StanzaEvent(){concluded_ = false;}; virtual ~StanzaEvent() {}; void conclude() {concluded_ = true; onConclusion();}; /** Do not call this directly from outside the class */ boost::signal onConclusion; bool getConcluded() {return concluded_;}; private: bool concluded_; }; }