Fix action_fw_tool
authorSangyoon Jang <jeremy.jang@samsung.com>
Mon, 10 Mar 2025 04:49:22 +0000 (13:49 +0900)
committer장상윤/Tizen Platform Lab(SR)/삼성전자 <jeremy.jang@samsung.com>
Mon, 10 Mar 2025 05:52:24 +0000 (14:52 +0900)
Using namespace alias.

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
tool/action_fw_tool/tools/get_action.cc
tool/action_fw_tool/tools/get_action_id.cc
tool/action_fw_tool/tools/list_actions.cc

index 34af9077234e1e2b92beb608f07f397d37228677..0242551b8e2600da11e2400bf1d9a7d8cd5997eb 100644 (file)
@@ -25,9 +25,9 @@ namespace action_fw_tool {
 
 constexpr const char kStubAppId[] = "org.tizen.action-framework.service";
 
+namespace rpc = rpc_port::tizen_action_service_proxy;
 class GetAction : public ActionFwTool,
-                  rpc_port::tizen_action_service_proxy::proxy::ActionService::
-                      IEventListener {
+                  rpc::proxy::ActionService::IEventListener {
  public:
   GetAction()
       : ActionFwTool("get_action", "GetAction", "get_action <action_id>"),
index 18f612dc038772d0294b8f8f9cfffee52dbc3ac7..2e2224828395b556c179e70c1659cd434b46199a 100644 (file)
@@ -25,9 +25,9 @@ namespace action_fw_tool {
 
 constexpr const char kStubAppId[] = "org.tizen.action-framework.service";
 
+namespace rpc = rpc_port::tizen_action_service_proxy;
 class GetActionId : public ActionFwTool,
-                    rpc_port::tizen_action_service_proxy::proxy::ActionService::
-                        IEventListener {
+                    rpc::proxy::ActionService::IEventListener {
  public:
   GetActionId()
       : ActionFwTool("get_action_id", "GetActionId", "get_action_id <description> <topk(int)> <threshold(float)>"),
index c2d79e6137d8e271cad025ccaf55bb322ee7e950..e1627b3a3bdae49b1b076c381e641b757b527499 100644 (file)
@@ -23,9 +23,9 @@ namespace action_fw_tool {
 
 constexpr const char kStubAppId[] = "org.tizen.action-framework.service";
 
+namespace rpc = rpc_port::tizen_action_service_proxy;
 class ListActions : public ActionFwTool,
-                    rpc_port::tizen_action_service_proxy::proxy::ActionService::
-                        IEventListener {
+                    rpc::proxy::ActionService::IEventListener {
  public:
   ListActions()
       : ActionFwTool("list_actions", "ListActions", "list_actions"),