A11yEvent: Rename EVENT_WINDOW_CLOSE to EVENT_WINDOW_DESTROY 82/284282/2
authorChihun Jeong <chihun.jeong@samsung.com>
Tue, 15 Nov 2022 02:44:31 +0000 (11:44 +0900)
committerChihun Jeong <chihun.jeong@samsung.com>
Tue, 15 Nov 2022 06:59:07 +0000 (06:59 +0000)
Change-Id: I9a2abcbdd15668931f054bdd2ceb2e8e505fd7fa

libaurum/inc/A11yEvent.h
libaurum/src/A11yEvent.cc

index cbf402f..d891e88 100644 (file)
@@ -33,7 +33,7 @@ namespace Aurum {
 enum class A11yEvent {
      EVENT_NONE = 0x00000,
      EVENT_WINDOW_CREATE = 0x00001,
-     EVENT_WINDOW_CLOSE = 0x00002,
+     EVENT_WINDOW_DESTROY = 0x00002,
      EVENT_WINDOW_MINIMIZE = 0x00004,
      EVENT_WINDOW_MAXIMIZE = 0x00008,
      EVENT_WINDOW_RESTORE = 0x00010,
index 86f5d6c..e91ed94 100644 (file)
@@ -41,7 +41,7 @@ A11yEventInfo::A11yEventInfo(std::string event, std::string name, std::string pk
 
 
 static std::unordered_map<std::string,A11yEvent> const table = { {"window:create", A11yEvent::EVENT_WINDOW_CREATE},
-                                                                                                                                {"window:close", A11yEvent::EVENT_WINDOW_CLOSE},
+                                                                                                                                {"window:destroy", A11yEvent::EVENT_WINDOW_DESTROY},
                                                                                                                                 {"window:minimize", A11yEvent::EVENT_WINDOW_MINIMIZE},
                                                                                                                                 {"window:maxmize", A11yEvent::EVENT_WINDOW_MAXIMIZE},
                                                                                                                                 {"window:restore", A11yEvent::EVENT_WINDOW_RESTORE},