{
try {
-
- ret = Dali::KeyGrab::GrabKeyTopmost(*_win, (Dali::KEY)daliKey);
-
+ ret = Dali::KeyGrab::GrabKeyTopmost(*_win, (Dali::KEY)daliKey);
} catch (std::out_of_range& e) {
{
SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return false;
{
try {
-
- ret = Dali::KeyGrab::UngrabKeyTopmost(*_win, (Dali::KEY)daliKey);
-
+ ret = Dali::KeyGrab::UngrabKeyTopmost(*_win, (Dali::KEY)daliKey);
} catch (std::out_of_range& e) {
{
SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return false;
{
try {
-
- ret = Dali::KeyGrab::GrabKey(*_win, (Dali::KEY)daliKey, (Dali::KeyGrab::KeyGrabMode)grabMode);
-
+ ret = Dali::KeyGrab::GrabKey(*_win, (Dali::KEY)daliKey, (Dali::KeyGrab::KeyGrabMode)grabMode);
} catch (std::out_of_range& e) {
{
SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return false;
{
try {
-
- ret = Dali::KeyGrab::UngrabKey(*_win, (Dali::KEY)daliKey);
-
+ ret = Dali::KeyGrab::UngrabKey(*_win, (Dali::KEY)daliKey);
} catch (std::out_of_range& e) {
{
SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return false;
SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_GetNativeWindowHandler( void* window )
{
Dali::Window *_win = (Dali::Window *)window;
- void * ret;
+ void * ret = NULL;
LOG("CSharp_Dali_GetNativeWindowHandler() [DP1] window=%d", window);
{
try {
-
- ret = Dali::DevelWindow::GetNativeWindowHandler(*_win);
-
+ ret = Dali::DevelWindow::GetNativeWindowHandler(*_win);
} catch (std::out_of_range& e) {
{
- SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return false;
+ SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return NULL;
};
} catch (std::exception& e) {
{
- SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return false;
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return NULL;
};
} catch (...) {
{
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return false;
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return NULL;
};
}
}