#include "common/action_model.h"
#include "common/utils/logging.hh"
-#include "utils/action_model_converter.hh"
#include "plugin_executor.hh"
+#include "utils/action_model_converter.hh"
namespace action {
ResultHandler(PluginExecutor* executor)
: rpc_port::plugin_manager_proxy::proxy::PluginManager::ResultHandler(
true),
- executor_(executor) {
- }
+ executor_(executor) {}
~ResultHandler() = default;
PluginExecutor::PluginExecutor(std::string id, const common::ActionModel& model)
: AbstractActionExecutor(std::move(id)),
+ model_(model),
plugin_manager_(
this,
- "d::org.tizen.appfw.service.tizen_action_plugin_manager") {
- model_ = model;
-}
+ "d::org.tizen.appfw.service.tizen_action_plugin_manager") {}
PluginExecutor::~PluginExecutor() {
if (connected_)
};
PluginService(std::string sender, std::string instance)
- : ServiceBase(sender, instance) {}
+ : ServiceBase(std::move(sender), std::move(instance)) {}
void OnCreate() override {
std::string sender = GetSender();