There is some issue with ATSPI in Ubuntu platform.
So we build atspi-wrap.cpp in tizen profile only.
But ATSPI::IsEnable(); API could be called for all profile
This patch hotfix this issue.
We move that function to other file.
(= control-devel-wrap.cpp which relation API defined)
Change-Id: I139ba72c5c3ad8ad2be4255c47e770d29675892e
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Dali::Accessibility::Bridge::DisableAutoInit();
}
-SWIGEXPORT bool SWIGSTDCALL csharp_dali_accessibility_IsEnabled()
-{
- return Dali::AtspiAccessibility::IsEnabled();
-}
-
#ifdef __cplusplus
}
#endif
});
}
+// atspi-wrap.cpp build only tizen profile, but this API could called for common profile.
+// TODO : It may need to moved some other file. Need to checkup
+SWIGEXPORT bool SWIGSTDCALL csharp_dali_accessibility_IsEnabled()
+{
+ // TODO : This file doesn't have Atspi namespace. In this file, It just call IsUp function.
+ //return Dali::AtspiAccessibility::IsEnabled();
+ return Dali::Accessibility::IsUp();
+}
+
+
#ifdef __cplusplus
} // extern "C"
#endif