Mercurial > hg > orthanc-stone
comparison Applications/Commands/ICommand.h @ 466:5055031f4a06 bgo-commands-codegen
- Added browserify to build. This allows using require calls for modules that
work with tsc compiler.
- removed older stuff related to Protocol Buffers and Flatbuffers
- changed triple-slash references to import statements
- module prefixes are now added at call sites
- added cmake module for filename handling
- switched to Ninja for sample build
- Added virtual dtor in ICommand
author | bgo-osimis |
---|---|
date | Mon, 11 Feb 2019 16:00:04 +0100 |
parents | b70e9be013e4 |
children | 801d2697a1b1 |
comparison
equal
deleted
inserted
replaced
448:cc47e6eaefb0 | 466:5055031f4a06 |
---|---|
33 std::string name_; | 33 std::string name_; |
34 ICommand(const std::string& name) | 34 ICommand(const std::string& name) |
35 : name_(name) | 35 : name_(name) |
36 {} | 36 {} |
37 public: | 37 public: |
38 virtual ~ICommand() | |
39 {} | |
38 virtual void Execute() = 0; | 40 virtual void Execute() = 0; |
39 // virtual void Configure(const Json::Value& arguments) = 0; | 41 // virtual void Configure(const Json::Value& arguments) = 0; |
40 const std::string& GetName() const | 42 const std::string& GetName() const |
41 { | 43 { |
42 return name_; | 44 return name_; |