Remove unused rule file 92/282192/1
authorSuyeon Hwang <stom.hwang@samsung.com>
Tue, 27 Sep 2022 06:31:47 +0000 (15:31 +0900)
committerTizen AI <ai.tzn.sec@samsung.com>
Wed, 28 Sep 2022 04:44:15 +0000 (13:44 +0900)
Change-Id: If356b480436317a8da64c36981c526b9d8d2f2a1
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
README.md
packaging/mmi-manager.spec
src/mmimgr/iu/data/default_rule.json [deleted file]
src/mmimgr/iu/mmi_iu.cpp
src/mmimgr/meson.build

index c774d9f..50d6f35 100644 (file)
--- a/README.md
+++ b/README.md
@@ -32,8 +32,6 @@
 |   │   │   ├── StringUtil.h
 |   │   │   ├── VoiceTouchEngine.cpp
 |   │   │   ├── VoiceTouchEngine.h
-|   │   |   └── data
-|   |   │       └── default_rule.json
 |   │   ├── output_modality
 |   │   │   ├── mmi_output_modality.cpp
 |   │   │   ├── mmi_output_modality.h
index a691dd8..b5a6bf1 100644 (file)
@@ -83,7 +83,6 @@ mkdir -p %{buildroot}%{_libdir}/provider
 %license COPYING
 %{_bindir}/mmi-manager
 %{_libdir}/libmmi*.so*
-%{_datadir}/iu/*
 %{_datadir}/mmi-provider/*
 %{_libdir}/provider/libmmi*.so
 %{_datadir}/packages/%{name}.xml
diff --git a/src/mmimgr/iu/data/default_rule.json b/src/mmimgr/iu/data/default_rule.json
deleted file mode 100644 (file)
index aa7e8ea..0000000
+++ /dev/null
@@ -1,389 +0,0 @@
-{
-    "IURule" : [
-        {
-            "InputIntents" : [
-                {
-                    "Modality" : "KeyInput",
-                    "Action" : "PressMicButton"
-                }
-            ],
-            "MMIStatus" : "Initiation",
-            "OutputIntent": {
-                "Action" : "WakeUp"
-            }
-        },
-        {
-            "InputIntents" : [
-                {
-                    "Modality" : "Gesture",
-                    "Action" : "ShowPalm"
-                }
-            ],
-            "MMIStatus": "Initiation",
-            "OutputIntent": {
-                "Action" : "WakeUp"
-            }
-        },
-        {
-            "InputIntents" : [
-                {
-                    "Modality" : "KeyInput",
-                    "Action" : "PressUpButton"
-                }
-            ],
-            "MMIStatus": "Exploration",
-            "OutputIntent": {
-                "Action" : "MoveUp"
-            }
-        },
-        {
-            "InputIntents" : [
-                {
-                    "Modality" : "KeyInput",
-                    "Action" : "PressDownButton"
-                }
-            ],
-            "MMIStatus": "Exploration",
-            "OutputIntent": {
-                "Action" : "MoveDown"
-            }
-        },
-        {
-            "InputIntents" : [
-                {
-                    "Modality" : "KeyInput",
-                    "Action" : "PressRightButton"
-                }
-            ],
-            "MMIStatus": "Exploration",
-            "OutputIntent": {
-                "Action" : "MoveRight"
-            }
-        },
-        {
-            "InputIntents" : [
-                {
-                    "Modality" : "KeyInput",
-                    "Action" : "PressLeftButton"
-                }
-            ],
-            "MMIStatus": "Exploration",
-            "OutputIntent": {
-                "Action" : "MoveLeft"
-            }
-        },
-        {
-            "InputIntents" : [
-                {
-                    "Modality" : "Voice",
-                    "Action" : "MoveUp"
-                }
-            ],
-            "MMIStatus": "Exploration",
-            "OutputIntent": {
-                "Action" : "MoveUp"
-            }
-        },
-        {
-            "InputIntents" : [
-                {
-                    "Modality" : "Voice",
-                    "Action" : "MoveDown"
-                }
-            ],
-            "MMIStatus": "Exploration",
-            "OutputIntent": {
-                "Action" : "MoveDown"
-            }
-        },
-        {
-            "InputIntents" : [
-                {
-                    "Modality" : "Voice",
-                    "Action" : "MoveRight"
-                }
-            ],
-            "MMIStatus": "Exploration",
-            "OutputIntent": {
-                "Action" : "MoveRight"
-            }
-        },
-        {
-            "InputIntents" : [
-                {
-                    "Modality" : "Voice",
-                    "Action" : "MoveLeft"
-                }
-            ],
-            "MMIStatus": "Exploration",
-            "OutputIntent": {
-                "Action" : "MoveLeft"
-            }
-        },
-        {
-            "InputIntents" : [
-                {
-                    "Modality" : "Gesture",
-                    "Action" : "HandUp"
-                }
-            ],
-            "MMIStatus": "Exploration",
-            "OutputIntent": {
-                "Action" : "MoveUp"
-            }
-        },
-        {
-            "InputIntents" : [
-                {
-                    "Modality" : "Gesture",
-                    "Action" : "HandDown"
-                }
-            ],
-            "MMIStatus": "Exploration",
-            "OutputIntent": {
-                "Action" : "MoveDown"
-            }
-        },
-        {
-            "InputIntents" : [
-                {
-                    "Modality" : "Gesture",
-                    "Action" : "HandRight"
-                }
-            ],
-            "MMIStatus": "Exploration",
-            "OutputIntent": {
-                "Action" : "MoveRight"
-            }
-        },
-        {
-            "InputIntents" : [
-                {
-                    "Modality" : "Gesture",
-                    "Action" : "HandLeft"
-                }
-            ],
-            "MMIStatus": "Exploration",
-            "OutputIntent": {
-                "Action" : "MoveLeft"
-            }
-        },
-        {
-            "InputIntents" : [
-                {
-                    "Modality" : "KeyInput",
-                    "Action" : "PressOkButton"
-                }
-            ],
-            "MMIStatus": "Execution",
-            "OutputIntent": {
-                "Action" : "Execute"
-            }
-        },
-        {
-            "InputIntents" : [
-                {
-                    "Modality" : "Voice",
-                    "Action" : "Execute"
-                }
-            ],
-            "MMIStatus": "Execution",
-            "OutputIntent": {
-                "Action" : "Execute"
-            }
-        },
-        {
-            "InputIntents" : [
-                {
-                    "Modality" : "Voice",
-                    "Action" : "Play"
-                }
-            ],
-            "MMIStatus": "Execution",
-            "OutputIntent": {
-                "Action" : "Play"
-            }
-        },
-        {
-            "InputIntents" : [
-                {
-                    "Modality" : "Voice",
-                    "Action" : "Yes"
-                }
-            ],
-            "MMIStatus": "Execution",
-            "OutputIntent": {
-                "Action" : "Yes"
-            }
-        },
-        {
-            "InputIntents" : [
-                {
-                    "Modality" : "Gesture",
-                    "Action" : "HandPush"
-                }
-            ],
-            "MMIStatus": "Execution",
-            "OutputIntent": {
-                "Action" : "Execute"
-            }
-        },
-        {
-            "InputIntents" : [
-                {
-                    "Modality" : "KeyInput",
-                    "Action" : "PressOkButton"
-                }
-            ],
-            "MMIStatus": "Execution",
-            "OutputIntent": {
-                "Action" : "Execute"
-            }
-        },
-        {
-            "InputIntents" : [
-                {
-                    "Modality" : "KeyInput",
-                    "Action" : "PressBackButton"
-                }
-            ],
-            "MMIStatus": "Execution",
-            "OutputIntent": {
-                "Action" : "Cancel"
-            }
-        },
-        {
-            "InputIntents" : [
-                {
-                    "Modality" : "KeyInput",
-                    "Action" : "PressBackButton"
-                }
-            ],
-            "MMIStatus": "Initiation",
-            "OutputIntent": {
-                "Action" : "Cancel"
-            }
-        },
-        {
-            "InputIntents" : [
-                {
-                    "Modality" : "KeyInput",
-                    "Action" : "PressBackButton"
-                }
-            ],
-            "MMIStatus": "Feedback",
-            "OutputIntent": {
-                "Action" : "Cancel"
-            }
-        },
-        {
-            "InputIntents" : [
-                {
-                    "Modality" : "Voice",
-                    "Action" : "Cancel"
-                }
-            ],
-            "MMIStatus": "Feedback",
-            "OutputIntent": {
-                "Action" : "Cancel"
-            }
-        },
-        {
-            "InputIntents" : [
-                {
-                    "Modality" : "Voice",
-                    "Action" : "Back"
-                }
-            ],
-            "MMIStatus": "Feedback",
-            "OutputIntent": {
-                "Action" : "Cancel"
-            }
-        },
-        {
-            "InputIntents" : [
-                {
-                    "Modality" : "Gesture",
-                    "Action" : "WaveHandX"
-                }
-            ],
-            "MMIStatus": "Feedback",
-            "OutputIntent": {
-                "Action" : "Cancel"
-            }
-        },
-        {
-            "InputIntents" : [
-                {
-                    "Modality" : "Vision",
-                    "Action" : "OutOfVision"
-                }
-            ],
-            "MMIStatus": "Observation",
-            "OutputIntent": {
-                "Action" : "Pause"
-            }
-        },
-        {
-            "InputIntents" : [
-                {
-                    "Modality" : "KeyInput",
-                    "Action" : "PressBackButton"
-                }
-            ],
-            "MMIStatus": "Termination",
-            "OutputIntent": {
-                "Action" : "Exit"
-            }
-        },
-        {
-            "InputIntents" : [
-                {
-                    "Modality" : "Voice",
-                    "Action" : "Exit"
-                }
-            ],
-            "MMIStatus": "Termination",
-            "OutputIntent": {
-                "Action" : "Exit"
-            }
-        },
-        {
-            "InputIntents" : [
-                {
-                    "Modality" : "Voice",
-                    "Action" : "Stop"
-                }
-            ],
-            "MMIStatus": "Termination",
-            "OutputIntent": {
-                "Action" : "Stop"
-            }
-        },
-        {
-            "InputIntents" : [
-                {
-                    "Modality" : "Voice",
-                    "Action" : "Terminate"
-                }
-            ],
-            "MMIStatus": "Termination",
-            "OutputIntent": {
-                "Action" : "Terminate"
-            }
-        },
-        {
-            "InputIntents" : [
-                {
-                    "Modality" : "Gesture",
-                    "Action" : "FlipPalm"
-                }
-            ],
-            "MMIStatus": "Termination",
-            "OutputIntent": {
-                "Action" : "Exit"
-            }
-        }
-    ]
-}
-
index 9d7336e..6aefac2 100644 (file)
@@ -39,7 +39,6 @@ static bool initialized = false;
 
 static VoiceTouchEngine *g_VoiceTouchEngine = nullptr;
 
-#define DEFAULT_RULE_FILE "/usr/share/iu/default_rule.json"
 
 static void init()
 {
index a5255f2..a6f2312 100644 (file)
@@ -40,8 +40,6 @@ install_headers(
        'mmi-provider-iface.h',
        )
 
-install_data('iu/data/default_rule.json', install_dir : '/usr/share/iu/')
-
 glib_dep = dependency('glib-2.0', method : 'pkg-config')
 gio_dep = dependency('gio-2.0', method : 'pkg-config')
 bundle_dep = dependency('bundle', method : 'pkg-config')