/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2024 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
{
try
{
- if(mProcessRegistered)
+ if(mProcessRegistered && Dali::Adaptor::IsAvailable())
{
Dali::Adaptor::Get().UnregisterProcessor(*this);
Dali::Adaptor::Get().UnregisterProcessor(*this, true);
/*
- * Copyright (c) 2022 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2024 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
{
try
{
+ // Note : We should not check Dali::Adaptor::IsAvailable() here. Since this API could be called at OnTerminate time.
result = Dali::Adaptor::Get().GetWindows();
jresult = result.size();
}
{
try
{
+ // Note : We should not check Dali::Adaptor::IsAvailable() here. Since this API could be called at OnTerminate time.
result = Dali::Adaptor::Get().GetWindows();
}
CALL_CATCH_EXCEPTION(0);
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2024 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
}
{
try {
- Dali::Adaptor::Get().FeedKeyEvent(*keyEvent);
+ if(Dali::Adaptor::IsAvailable())
+ {
+ Dali::Adaptor::Get().FeedKeyEvent(*keyEvent);
+ }
} CALL_CATCH_EXCEPTION();
}
}
SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Adaptor_RenderOnce(void * /* jarg1 */) {
try {
- Dali::Adaptor::Get().RenderOnce();
+ if(Dali::Adaptor::IsAvailable())
+ {
+ Dali::Adaptor::Get().RenderOnce();
+ }
} CALL_CATCH_EXCEPTION();
}
Name: dali2-csharp-binder
Summary: The DALI Csharp Binder
-Version: 2.3.15
+Version: 2.3.16
Release: 1
Group: uifw/graphic
License: Apache-2.0 and BSD-3-Clause and MIT