X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibmarklin%2Fexcept.h;fp=source%2Flibmarklin%2Fexcept.h;h=0000000000000000000000000000000000000000;hb=651698847d5293cfb15b6fb23a394701388c0151;hp=85fe43175b0e739cd93f21f5aea93b69952f7e40;hpb=dcfa1e9503b7e97b61396d7458f0b2e5896779cd;p=r2c2.git diff --git a/source/libmarklin/except.h b/source/libmarklin/except.h deleted file mode 100644 index 85fe431..0000000 --- a/source/libmarklin/except.h +++ /dev/null @@ -1,31 +0,0 @@ -/* $Id$ - -This file is part of the MSP Märklin suite -Copyright © 2009 Mikkosoft Productions, Mikko Rasa -Distributed under the GPL -*/ - -#ifndef LIBMARKLIN_EXCEPT_H_ -#define LIBMARKLIN_EXCEPT_H_ - -#include - -namespace Marklin { - -class Train; - -class TurnoutBusy: public Msp::Exception -{ -private: - Train *train; - -public: - TurnoutBusy(Train *t): Exception("Turnout is busy"), train(t) { } - virtual ~TurnoutBusy() throw() { } - - Train *get_train() const throw() { return train; } -}; - -} - -#endif