Implement dynamic procedure at REST interface
[anna.git] / dynamic / launcher / gx / 00001 / Procedure.hpp
index d6afe5b..7c833f9 100644 (file)
@@ -11,6 +11,7 @@
 
 // Project
 #include <anna/comm/comm.hpp>
+#include <anna/json/json.hpp>
 
 
 class Procedure {
@@ -20,6 +21,7 @@ class Procedure {
     Procedure(anna::comm::Application *app) : a_app(app) {;}
 
     virtual void execute(const std::string &args, std::string &response)  throw(anna::RuntimeException);
+    virtual void execute(const nlohmann::json &args, std::string &response)  throw(anna::RuntimeException);
 };
 
 #endif