Mercurial > hg > orthanc
comparison Core/ICommand.h @ 466:9da3596069b8
handling failed commands
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 12 Jul 2013 12:11:45 +0200 |
parents | 84966299c8f8 |
children | 2d0a347e8cfc |
comparison
equal
deleted
inserted
replaced
465:7a966b440f19 | 466:9da3596069b8 |
---|---|
41 * http://en.wikipedia.org/wiki/Command_pattern | 41 * http://en.wikipedia.org/wiki/Command_pattern |
42 **/ | 42 **/ |
43 class ICommand : public IDynamicObject | 43 class ICommand : public IDynamicObject |
44 { | 44 { |
45 public: | 45 public: |
46 virtual void Execute() = 0; | 46 virtual bool Execute() = 0; |
47 }; | 47 }; |
48 } | 48 } |