From a588b2017388fb75a821f575ffb16aae1b6d8273 Mon Sep 17 00:00:00 2001 From: "Eunki, Hong" Date: Thu, 16 Dec 2021 12:55:59 +0900 Subject: [PATCH] Clean up all cpp files header 1. Fill in missing license info 2. Well-formating license info 3. Group each headerfiles as 'INTERNAL' and 'EXTERNAL' (csharp binder doesn't have any 'CLASS HEADER' instead of processor-controller.cpp and view-wrapper-impl-wrap.cpp) Change-Id: Idc1aa857a1b2e725e05a083296aa1cf62aaf2626 Signed-off-by: Eunki, Hong --- dali-csharp-binder/src/accessible-impl-nui.cpp | 6 ++- dali-csharp-binder/src/adaptor-wrap.cpp | 5 ++- dali-csharp-binder/src/animation-wrap.cpp | 4 +- dali-csharp-binder/src/application-wrap.cpp | 43 ++++++++++++---------- dali-csharp-binder/src/atspi-wrap.cpp | 39 +++++++++++--------- dali-csharp-binder/src/callbackbase-wrap.cpp | 1 + dali-csharp-binder/src/canvas-view-wrap.cpp | 29 ++++++++++++--- dali-csharp-binder/src/capabilities-wrap.cpp | 6 ++- dali-csharp-binder/src/capture-wrap.cpp | 7 ++-- dali-csharp-binder/src/common.cpp | 3 +- dali-csharp-binder/src/common.h | 2 +- .../src/component-application-wrap.cpp | 38 ++++++++++--------- dali-csharp-binder/src/constraint-wrap.cpp | 5 ++- dali-csharp-binder/src/control-devel-wrap.cpp | 7 +++- dali-csharp-binder/src/control-devel-wrap.h | 8 ++-- dali-csharp-binder/src/dali-wrap.cpp | 18 --------- dali-csharp-binder/src/devel-property-wrap.cpp | 10 +++-- .../src/encoded-image-buffer-wrap.cpp | 7 +++- .../src/event-thread-callback-wrap.cpp | 5 ++- dali-csharp-binder/src/extents-wrap.cpp | 21 ++++++++++- dali-csharp-binder/src/fade-transition-wrap.cpp | 6 ++- dali-csharp-binder/src/flex-layout-wrap.cpp | 24 +++++++++++- dali-csharp-binder/src/font-client-wrap.cpp | 38 ++++++++++--------- dali-csharp-binder/src/gestures-wrap.cpp | 5 ++- dali-csharp-binder/src/gl-view-wrap.cpp | 36 ++++++++++-------- dali-csharp-binder/src/gl-window-wrap.cpp | 39 +++++++++++--------- .../src/input-method-context-wrap.cpp | 39 +++++++++++--------- .../src/input-method-options-wrap.cpp | 37 ++++++++++--------- dali-csharp-binder/src/input-options-wrap.cpp | 6 ++- dali-csharp-binder/src/key-grab-wrap.cpp | 43 +++++++++++----------- .../src/keyboard-focus-manager-wrap.cpp | 5 ++- dali-csharp-binder/src/keyboard-wrap.cpp | 11 ++---- dali-csharp-binder/src/model3d-view-wrap.cpp | 6 ++- dali-csharp-binder/src/native-image-queue-wrap.cpp | 36 ++++++++++-------- dali-csharp-binder/src/processor-controller.cpp | 3 ++ dali-csharp-binder/src/processor-controller.h | 1 - .../src/rive-animation-view-wrap.cpp | 23 ++++++++++-- dali-csharp-binder/src/rotation-wrap.cpp | 6 ++- dali-csharp-binder/src/scale-transition-wrap.cpp | 6 ++- dali-csharp-binder/src/signal-wrap.cpp | 18 +++++++++ dali-csharp-binder/src/slide-transition-wrap.cpp | 6 ++- dali-csharp-binder/src/style-manager-wrap.cpp | 37 ++++++++++--------- dali-csharp-binder/src/text-editor-wrap.cpp | 38 ++++++++++--------- dali-csharp-binder/src/text-field-wrap.cpp | 38 ++++++++++--------- dali-csharp-binder/src/text-label-wrap.cpp | 22 ++++++++++- dali-csharp-binder/src/text-utils-wrap.cpp | 38 ++++++++++--------- dali-csharp-binder/src/tizen-dependency-wrap.cpp | 39 +++++++++++--------- dali-csharp-binder/src/transition-base-wrap.cpp | 7 ++-- dali-csharp-binder/src/transition-effects-wrap.cpp | 40 ++++++++++---------- dali-csharp-binder/src/transition-set-wrap.cpp | 7 ++-- dali-csharp-binder/src/transition-wrap.cpp | 6 ++- dali-csharp-binder/src/tts-player-wrap.cpp | 36 ++++++++++-------- dali-csharp-binder/src/version-check.cpp | 4 +- dali-csharp-binder/src/view-wrapper-impl-wrap.h | 6 ++- dali-csharp-binder/src/visual-actions-wrap.cpp | 37 ++++++++++--------- dali-csharp-binder/src/watch-view-wrap.cpp | 39 +++++++++++--------- dali-csharp-binder/src/watch-wrap.cpp | 38 ++++++++++--------- dali-csharp-binder/src/web-view-wrap.cpp | 22 ++++++----- .../src/widget-view-manager-wrap.cpp | 38 ++++++++++--------- dali-csharp-binder/src/widget-view-wrap.cpp | 37 ++++++++++--------- dali-csharp-binder/src/window-wrap.cpp | 41 +++++++++++---------- 61 files changed, 723 insertions(+), 505 deletions(-) diff --git a/dali-csharp-binder/src/accessible-impl-nui.cpp b/dali-csharp-binder/src/accessible-impl-nui.cpp index 2153e91..ae84e10 100644 --- a/dali-csharp-binder/src/accessible-impl-nui.cpp +++ b/dali-csharp-binder/src/accessible-impl-nui.cpp @@ -14,11 +14,13 @@ * limitations under the License. * */ -#include "control-devel-wrap.h" +// EXTERNAL INCLUDES #include #include -#include + +// INTERNAL INCLUDES +#include "control-devel-wrap.h" using namespace Dali::Toolkit::DevelControl; diff --git a/dali-csharp-binder/src/adaptor-wrap.cpp b/dali-csharp-binder/src/adaptor-wrap.cpp index 238eb3d..9c7c454 100755 --- a/dali-csharp-binder/src/adaptor-wrap.cpp +++ b/dali-csharp-binder/src/adaptor-wrap.cpp @@ -15,10 +15,11 @@ * */ -#include "common.h" +// EXTERNAL INCLUDES #include -// #include +// INTERNAL INCLUDES +#include "common.h" SWIGINTERN bool Dali_Signal_Sl_void_Sp_Dali_Adaptor_SA__SP__Sg__Empty(Dali::Signal< void (Dali::Adaptor &) > const *self){ return self->Empty(); diff --git a/dali-csharp-binder/src/animation-wrap.cpp b/dali-csharp-binder/src/animation-wrap.cpp index a45b249..04cce01 100755 --- a/dali-csharp-binder/src/animation-wrap.cpp +++ b/dali-csharp-binder/src/animation-wrap.cpp @@ -15,10 +15,12 @@ * */ -#include "common.h" +// EXTERNAL INCLUDES #include #include +// INTERNAL INCLUDES +#include "common.h" SWIGINTERN bool Dali_Signal_Sl_void_Sp_Dali_Animation_SA__SP__Sg__Empty(Dali::Signal< void (Dali::Animation &) > const *self){ return self->Empty(); diff --git a/dali-csharp-binder/src/application-wrap.cpp b/dali-csharp-binder/src/application-wrap.cpp index b9d120a..e799e3d 100755 --- a/dali-csharp-binder/src/application-wrap.cpp +++ b/dali-csharp-binder/src/application-wrap.cpp @@ -1,25 +1,28 @@ -/** Copyright (c) 2020 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. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -* -*/ - -#include "common.h" -#include "string" -#include -#include +/* + * Copyright (c) 2020 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. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +// EXTERNAL INCLUDES #include +#include #include +#include + +// INTERNAL INCLUDES +#include "common.h" /* Callback for returning strings to C# without leaking memory */ typedef char * (SWIGSTDCALL* SWIG_CSharpStringHelperCallback)(const char *); diff --git a/dali-csharp-binder/src/atspi-wrap.cpp b/dali-csharp-binder/src/atspi-wrap.cpp index 55de08b..c7e5138 100755 --- a/dali-csharp-binder/src/atspi-wrap.cpp +++ b/dali-csharp-binder/src/atspi-wrap.cpp @@ -1,23 +1,26 @@ -/** Copyright (c) 2019 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. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -* -*/ - -#include "common.h" +/* + * Copyright (c) 2019 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. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +// EXTERNAL INCLUDES #include #include -#include + +// INTERNAL INCLUDES +#include "common.h" #ifdef __cplusplus extern "C" { diff --git a/dali-csharp-binder/src/callbackbase-wrap.cpp b/dali-csharp-binder/src/callbackbase-wrap.cpp index f174c8b..d7e4de8 100755 --- a/dali-csharp-binder/src/callbackbase-wrap.cpp +++ b/dali-csharp-binder/src/callbackbase-wrap.cpp @@ -15,6 +15,7 @@ * */ +// INTERNAL INCLUDES #include "common.h" #ifdef __cplusplus diff --git a/dali-csharp-binder/src/canvas-view-wrap.cpp b/dali-csharp-binder/src/canvas-view-wrap.cpp index 61432ce..f11d29c 100644 --- a/dali-csharp-binder/src/canvas-view-wrap.cpp +++ b/dali-csharp-binder/src/canvas-view-wrap.cpp @@ -1,14 +1,31 @@ -#define SWIGSTDCALL - -// INCLUDES -#include "common.h" -#include -#include +/* + * Copyright (c) 2021 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. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +// EXTERNAL INCLUDES #include #include #include #include #include +#include +#include + +// INTERNAL INCLUDES +#include "common.h" using namespace Dali; using namespace Dali::Toolkit; diff --git a/dali-csharp-binder/src/capabilities-wrap.cpp b/dali-csharp-binder/src/capabilities-wrap.cpp index 649f74c..1837aef 100644 --- a/dali-csharp-binder/src/capabilities-wrap.cpp +++ b/dali-csharp-binder/src/capabilities-wrap.cpp @@ -1,4 +1,3 @@ - /* * Copyright (c) 2020 Samsung Electronics Co., Ltd. * @@ -16,9 +15,12 @@ * */ -#include "common.h" +// EXTERNAL INCLUDES #include +// INTERNAL INCLUDES +#include "common.h" + #ifdef __cplusplus extern "C" { #endif diff --git a/dali-csharp-binder/src/capture-wrap.cpp b/dali-csharp-binder/src/capture-wrap.cpp index 6d869e2..2c9aba7 100755 --- a/dali-csharp-binder/src/capture-wrap.cpp +++ b/dali-csharp-binder/src/capture-wrap.cpp @@ -15,14 +15,15 @@ * */ -#include -#include "common.h" +// EXTERNAL INCLUDES #include #include -#include #include #include +// INTERNAL INCLUDES +#include "common.h" + SWIGINTERN bool Dali_Capture_Signal_Empty(Dali::Capture::CaptureFinishedSignalType const* self) { return self->Empty(); diff --git a/dali-csharp-binder/src/common.cpp b/dali-csharp-binder/src/common.cpp index 27f6276..6cb6c92 100644 --- a/dali-csharp-binder/src/common.cpp +++ b/dali-csharp-binder/src/common.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 Samsung Electronics Co., Ltd. + * Copyright (c) 2021 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. @@ -15,6 +15,7 @@ * */ +// INTERNAL INCLUDES #include "common.h" void SWIG_ExceptionMessageWithFileAndLine(const int& code, const char* what, const char* filename, const int& linenumber, const char* funcname) diff --git a/dali-csharp-binder/src/common.h b/dali-csharp-binder/src/common.h index 3901a0f..ba6ff0d 100755 --- a/dali-csharp-binder/src/common.h +++ b/dali-csharp-binder/src/common.h @@ -2,7 +2,7 @@ #define CSHARP_COMMON_H /* - * Copyright (c) 2018 Samsung Electronics Co., Ltd. + * Copyright (c) 2021 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. diff --git a/dali-csharp-binder/src/component-application-wrap.cpp b/dali-csharp-binder/src/component-application-wrap.cpp index e40d807..0727218 100644 --- a/dali-csharp-binder/src/component-application-wrap.cpp +++ b/dali-csharp-binder/src/component-application-wrap.cpp @@ -1,23 +1,27 @@ -/** Copyright (c) 2020 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. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -* -*/ - -#include "common.h" +/* + * Copyright (c) 2020 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. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +// EXTERNAL INCLUDES #include #include +// INTERNAL INCLUDES +#include "common.h" + #ifdef __cplusplus extern "C" { #endif diff --git a/dali-csharp-binder/src/constraint-wrap.cpp b/dali-csharp-binder/src/constraint-wrap.cpp index 5711257..038d1d4 100755 --- a/dali-csharp-binder/src/constraint-wrap.cpp +++ b/dali-csharp-binder/src/constraint-wrap.cpp @@ -15,9 +15,12 @@ * */ -#include "common.h" +// EXTERNAL INCLUDES #include +// INTERNAL INCLUDES +#include "common.h" + #ifdef __cplusplus extern "C" { diff --git a/dali-csharp-binder/src/control-devel-wrap.cpp b/dali-csharp-binder/src/control-devel-wrap.cpp index 9414e0d..34e8c7a 100644 --- a/dali-csharp-binder/src/control-devel-wrap.cpp +++ b/dali-csharp-binder/src/control-devel-wrap.cpp @@ -14,11 +14,14 @@ * limitations under the License. * */ -#include "control-devel-wrap.h" +// EXTERNAL INCLUDES +#include #include #include -#include + +// INTERNAL INCLUDES +#include "control-devel-wrap.h" using namespace Dali::Toolkit::DevelControl; diff --git a/dali-csharp-binder/src/control-devel-wrap.h b/dali-csharp-binder/src/control-devel-wrap.h index 2846775..3154db5 100644 --- a/dali-csharp-binder/src/control-devel-wrap.h +++ b/dali-csharp-binder/src/control-devel-wrap.h @@ -1,7 +1,8 @@ #ifndef CONTROL_DEVEL_WRAP_H #define CONTROL_DEVEL_WRAP_H + /* - * Copyright (c) 2020 Samsung Electronics Co., Ltd. + * Copyright (c) 2021 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. @@ -17,11 +18,10 @@ * */ -#include -#include - +// EXTERNAL INCLUDES #include +// INTERNAL INCLUDES #include "common.h" /* Callback for returning strings to C# without leaking memory */ diff --git a/dali-csharp-binder/src/dali-wrap.cpp b/dali-csharp-binder/src/dali-wrap.cpp index 800007b..f3e85b7 100755 --- a/dali-csharp-binder/src/dali-wrap.cpp +++ b/dali-csharp-binder/src/dali-wrap.cpp @@ -147,8 +147,6 @@ #include "common.h" -#include - SWIG_CSharpException_t SWIG_csharp_exceptions[] = { { SWIG_CSharpApplicationException, NULL }, { SWIG_CSharpArithmeticException, NULL }, @@ -244,24 +242,8 @@ SWIGEXPORT void SWIGSTDCALL SWIGRegisterStringCallback_NDalic(SWIG_CSharpStringH /* Contract support */ - #define SWIG_contract_assert(nullreturn, expr, msg) if (!(expr)) {SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, msg, ""); return nullreturn; } else -/* Errors in SWIG */ -#define SWIG_UnknownError -1 -#define SWIG_IOError -2 -#define SWIG_RuntimeError -3 -#define SWIG_IndexError -4 -#define SWIG_TypeError -5 -#define SWIG_DivisionByZero -6 -#define SWIG_OverflowError -7 -#define SWIG_SyntaxError -8 -#define SWIG_ValueError -9 -#define SWIG_SystemError -10 -#define SWIG_AttributeError -11 -#define SWIG_MemoryError -12 -#define SWIG_NullReferenceError -13 - /* ----------------------------------------------------------------------------- * director_common.swg diff --git a/dali-csharp-binder/src/devel-property-wrap.cpp b/dali-csharp-binder/src/devel-property-wrap.cpp index 773228c..f1a7496 100755 --- a/dali-csharp-binder/src/devel-property-wrap.cpp +++ b/dali-csharp-binder/src/devel-property-wrap.cpp @@ -15,8 +15,9 @@ * */ -#include "common.h" - +// EXTERNAL INCLUDES +#include +#include #include #include #include @@ -26,8 +27,9 @@ #include #include #include -#include -#include + +// INTERNAL INCLUDES +#include "common.h" using namespace Dali; using namespace Dali::Toolkit; diff --git a/dali-csharp-binder/src/encoded-image-buffer-wrap.cpp b/dali-csharp-binder/src/encoded-image-buffer-wrap.cpp index a478816..0c04cb7 100755 --- a/dali-csharp-binder/src/encoded-image-buffer-wrap.cpp +++ b/dali-csharp-binder/src/encoded-image-buffer-wrap.cpp @@ -15,10 +15,13 @@ * */ -#include "common.h" +// EXTERNAL INCLUDES +#include #include #include -#include + +// INTERNAL INCLUDES +#include "common.h" #ifdef __cplusplus extern "C" diff --git a/dali-csharp-binder/src/event-thread-callback-wrap.cpp b/dali-csharp-binder/src/event-thread-callback-wrap.cpp index afce7c5..c7c9827 100755 --- a/dali-csharp-binder/src/event-thread-callback-wrap.cpp +++ b/dali-csharp-binder/src/event-thread-callback-wrap.cpp @@ -15,9 +15,12 @@ * */ -#include "common.h" +// EXTERNAL INCLUDES #include +// INTERNAL INCLUDES +#include "common.h" + #ifdef __cplusplus extern "C" { #endif diff --git a/dali-csharp-binder/src/extents-wrap.cpp b/dali-csharp-binder/src/extents-wrap.cpp index ad8d72d..934887c 100755 --- a/dali-csharp-binder/src/extents-wrap.cpp +++ b/dali-csharp-binder/src/extents-wrap.cpp @@ -1,6 +1,25 @@ -#include "common.h" +/* + * Copyright (c) 2021 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. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +// EXTERNAL INCLUDES #include +// INTERNAL INCLUDES +#include "common.h" #ifdef __cplusplus extern "C" { diff --git a/dali-csharp-binder/src/fade-transition-wrap.cpp b/dali-csharp-binder/src/fade-transition-wrap.cpp index ee48774..f2fa6e8 100755 --- a/dali-csharp-binder/src/fade-transition-wrap.cpp +++ b/dali-csharp-binder/src/fade-transition-wrap.cpp @@ -15,10 +15,12 @@ * */ -#include -#include "common.h" +// EXTERNAL INCLUDES #include +// INTERNAL INCLUDES +#include "common.h" + #ifdef __cplusplus extern "C" { diff --git a/dali-csharp-binder/src/flex-layout-wrap.cpp b/dali-csharp-binder/src/flex-layout-wrap.cpp index 9254b39..c5b2c3e 100755 --- a/dali-csharp-binder/src/flex-layout-wrap.cpp +++ b/dali-csharp-binder/src/flex-layout-wrap.cpp @@ -1,6 +1,26 @@ -#include "common.h" -#include +/* + * Copyright (c) 2021 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. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +// EXTERNAL INCLUDES #include +#include + +// INTERNAL INCLUDES +#include "common.h" #ifdef __cplusplus extern "C" { diff --git a/dali-csharp-binder/src/font-client-wrap.cpp b/dali-csharp-binder/src/font-client-wrap.cpp index 6e72ac7..d9ffa51 100755 --- a/dali-csharp-binder/src/font-client-wrap.cpp +++ b/dali-csharp-binder/src/font-client-wrap.cpp @@ -1,20 +1,21 @@ -/** Copyright (c) 2017 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. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -* -*/ - -#include "common.h" +/* + * Copyright (c) 2017 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. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +// EXTERNAL INCLUDES #include #include #include @@ -22,6 +23,9 @@ #include #include +// INTERNAL INCLUDES +#include "common.h" + /* Callback for returning strings to C# without leaking memory */ typedef char * (SWIGSTDCALL* SWIG_CSharpStringHelperCallback)(const char *); extern SWIG_CSharpStringHelperCallback SWIG_csharp_string_callback; diff --git a/dali-csharp-binder/src/gestures-wrap.cpp b/dali-csharp-binder/src/gestures-wrap.cpp index 491fe9e..cc9418e 100755 --- a/dali-csharp-binder/src/gestures-wrap.cpp +++ b/dali-csharp-binder/src/gestures-wrap.cpp @@ -15,11 +15,14 @@ * */ -#include "common.h" +// EXTERNAL INCLUDES #include #include #include +// INTERNAL INCLUDES +#include "common.h" + #ifdef __cplusplus extern "C" { #endif diff --git a/dali-csharp-binder/src/gl-view-wrap.cpp b/dali-csharp-binder/src/gl-view-wrap.cpp index c1ddc32..cc72aa5 100644 --- a/dali-csharp-binder/src/gl-view-wrap.cpp +++ b/dali-csharp-binder/src/gl-view-wrap.cpp @@ -1,21 +1,25 @@ -/** Copyright (c) 2021 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. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -* -*/ +/* + * Copyright (c) 2021 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. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +// EXTERNAL INCLUDES +#include +// INTERNAL INCLUDES #include "common.h" -#include #ifdef __cplusplus extern "C" diff --git a/dali-csharp-binder/src/gl-window-wrap.cpp b/dali-csharp-binder/src/gl-window-wrap.cpp index 17fef62..2a242c0 100644 --- a/dali-csharp-binder/src/gl-window-wrap.cpp +++ b/dali-csharp-binder/src/gl-window-wrap.cpp @@ -1,24 +1,27 @@ -/** Copyright (c) 2020 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. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -* -*/ - -#include "common.h" +/* + * Copyright (c) 2020 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. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +// EXTERNAL INCLUDES #include #include #include -#include + +// INTERNAL INCLUDES +#include "common.h" /* Callback for returning strings to C# without leaking memory */ typedef char *(SWIGSTDCALL *SWIG_CSharpStringHelperCallback)(const char *); diff --git a/dali-csharp-binder/src/input-method-context-wrap.cpp b/dali-csharp-binder/src/input-method-context-wrap.cpp index 5183ed3..d857d8a 100755 --- a/dali-csharp-binder/src/input-method-context-wrap.cpp +++ b/dali-csharp-binder/src/input-method-context-wrap.cpp @@ -1,23 +1,26 @@ -/** Copyright (c) 2020 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. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -* -*/ +/* + * Copyright (c) 2020 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. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +// EXTERNAL INCLUDES +#include +#include +// INTERNAL INCLUDES #include "common.h" -#include -#include -#include /* Callback for returning strings to C# without leaking memory */ typedef char * (SWIGSTDCALL* SWIG_CSharpStringHelperCallback)(const char *); diff --git a/dali-csharp-binder/src/input-method-options-wrap.cpp b/dali-csharp-binder/src/input-method-options-wrap.cpp index 367f4c5..344daaa 100755 --- a/dali-csharp-binder/src/input-method-options-wrap.cpp +++ b/dali-csharp-binder/src/input-method-options-wrap.cpp @@ -1,22 +1,25 @@ -/** Copyright (c) 2017 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. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -* -*/ - -#include "common.h" +/* + * Copyright (c) 2017 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. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +// EXTERNAL INCLUDES #include +// INTERNAL INCLUDES +#include "common.h" #ifdef __cplusplus extern "C" { diff --git a/dali-csharp-binder/src/input-options-wrap.cpp b/dali-csharp-binder/src/input-options-wrap.cpp index c164706..3be38a7 100644 --- a/dali-csharp-binder/src/input-options-wrap.cpp +++ b/dali-csharp-binder/src/input-options-wrap.cpp @@ -15,10 +15,12 @@ * */ -#include -#include "common.h" +// EXTERNAL INCLUDES #include +// INTERNAL INCLUDES +#include "common.h" + #ifdef __cplusplus extern "C" { diff --git a/dali-csharp-binder/src/key-grab-wrap.cpp b/dali-csharp-binder/src/key-grab-wrap.cpp index d6e0806..96de318 100755 --- a/dali-csharp-binder/src/key-grab-wrap.cpp +++ b/dali-csharp-binder/src/key-grab-wrap.cpp @@ -1,30 +1,29 @@ -/** Copyright (c) 2017 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. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -* -*/ - -#include "common.h" - +/* + * Copyright (c) 2017 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. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +// EXTERNAL INCLUDES #include -#include #include -#include #include #include +#include -#include -#include +// INTERNAL INCLUDES +#include "common.h" #ifdef TIZEN_BUILD diff --git a/dali-csharp-binder/src/keyboard-focus-manager-wrap.cpp b/dali-csharp-binder/src/keyboard-focus-manager-wrap.cpp index 2e688f4..040f37f 100755 --- a/dali-csharp-binder/src/keyboard-focus-manager-wrap.cpp +++ b/dali-csharp-binder/src/keyboard-focus-manager-wrap.cpp @@ -15,10 +15,13 @@ * */ -#include "common.h" +// EXTERNAL INCLUDES #include #include +// INTERNAL INCLUDES +#include "common.h" + SWIGINTERN bool Dali_Signal_Sl_Dali_Actor_Sp_Dali_Actor_Sc_Dali_Actor_Sc_Dali_Toolkit_Control_KeyboardFocus_Direction_SP__Sg__Empty(Dali::Signal< Dali::Actor (Dali::Actor,Dali::Actor,Dali::Toolkit::Control::KeyboardFocus::Direction) > const *self){ return self->Empty(); } diff --git a/dali-csharp-binder/src/keyboard-wrap.cpp b/dali-csharp-binder/src/keyboard-wrap.cpp index 0c85ca8..de3cde7 100755 --- a/dali-csharp-binder/src/keyboard-wrap.cpp +++ b/dali-csharp-binder/src/keyboard-wrap.cpp @@ -15,17 +15,14 @@ * */ -#include "common.h" - +// EXTERNAL INCLUDES #include -#include #include -#include #include +#include -#include -#include - +// INTERNAL INCLUDES +#include "common.h" #ifdef TIZEN_BUILD #ifdef ECORE_WL2 diff --git a/dali-csharp-binder/src/model3d-view-wrap.cpp b/dali-csharp-binder/src/model3d-view-wrap.cpp index 676db48..6cebcfb 100755 --- a/dali-csharp-binder/src/model3d-view-wrap.cpp +++ b/dali-csharp-binder/src/model3d-view-wrap.cpp @@ -15,10 +15,12 @@ * */ -#include -#include "common.h" +// EXTERNAL INCLUDES #include +// INTERNAL INCLUDES +#include "common.h" + #ifdef __cplusplus extern "C" { diff --git a/dali-csharp-binder/src/native-image-queue-wrap.cpp b/dali-csharp-binder/src/native-image-queue-wrap.cpp index 28c695e..4eba0db 100644 --- a/dali-csharp-binder/src/native-image-queue-wrap.cpp +++ b/dali-csharp-binder/src/native-image-queue-wrap.cpp @@ -1,22 +1,26 @@ -/** Copyright (c) 2021 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. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -* -*/ +/* + * Copyright (c) 2021 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. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ -#include "common.h" +// EXTERNAL INCLUDES #include +// INTERNAL INCLUDES +#include "common.h" + #ifdef __cplusplus extern "C" { #endif diff --git a/dali-csharp-binder/src/processor-controller.cpp b/dali-csharp-binder/src/processor-controller.cpp index 9fb5eb6..a355aae 100644 --- a/dali-csharp-binder/src/processor-controller.cpp +++ b/dali-csharp-binder/src/processor-controller.cpp @@ -15,7 +15,10 @@ * */ +// CLASS HEADER #include "processor-controller.h" + +// EXTERNAL INCLUDES #include #ifdef __cplusplus diff --git a/dali-csharp-binder/src/processor-controller.h b/dali-csharp-binder/src/processor-controller.h index 56db578..807e479 100644 --- a/dali-csharp-binder/src/processor-controller.h +++ b/dali-csharp-binder/src/processor-controller.h @@ -19,7 +19,6 @@ */ // EXTERNAL INCLUDES -#include #include // INTERNAL INCLUDES diff --git a/dali-csharp-binder/src/rive-animation-view-wrap.cpp b/dali-csharp-binder/src/rive-animation-view-wrap.cpp index e4e0362..b8421b9 100644 --- a/dali-csharp-binder/src/rive-animation-view-wrap.cpp +++ b/dali-csharp-binder/src/rive-animation-view-wrap.cpp @@ -1,9 +1,26 @@ -#define SWIGSTDCALL +/* + * Copyright (c) 2021 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. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ -// INCLUDES -#include "common.h" +// EXTERNAL INCLUDES #include +// INTERNAL INCLUDES +#include "common.h" + using namespace Dali; using namespace Dali::Toolkit; using namespace Dali::Extension; diff --git a/dali-csharp-binder/src/rotation-wrap.cpp b/dali-csharp-binder/src/rotation-wrap.cpp index b6a883f..da33067 100644 --- a/dali-csharp-binder/src/rotation-wrap.cpp +++ b/dali-csharp-binder/src/rotation-wrap.cpp @@ -15,10 +15,12 @@ * */ -#include -#include "common.h" +// EXTERNAL INCLUDES #include +// INTERNAL INCLUDES +#include "common.h" + #ifdef __cplusplus extern "C" { diff --git a/dali-csharp-binder/src/scale-transition-wrap.cpp b/dali-csharp-binder/src/scale-transition-wrap.cpp index b67310f..e881da4 100755 --- a/dali-csharp-binder/src/scale-transition-wrap.cpp +++ b/dali-csharp-binder/src/scale-transition-wrap.cpp @@ -15,10 +15,12 @@ * */ -#include -#include "common.h" +// EXTERNAL INCLUDES #include +// INTERNAL INCLUDES +#include "common.h" + #ifdef __cplusplus extern "C" { diff --git a/dali-csharp-binder/src/signal-wrap.cpp b/dali-csharp-binder/src/signal-wrap.cpp index 600fcd4..15f5c49 100644 --- a/dali-csharp-binder/src/signal-wrap.cpp +++ b/dali-csharp-binder/src/signal-wrap.cpp @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2021 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. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +// INTERNAL INCLUDES #include "control-devel-wrap.h" #ifdef __cplusplus diff --git a/dali-csharp-binder/src/slide-transition-wrap.cpp b/dali-csharp-binder/src/slide-transition-wrap.cpp index 97b92a8..30b997a 100755 --- a/dali-csharp-binder/src/slide-transition-wrap.cpp +++ b/dali-csharp-binder/src/slide-transition-wrap.cpp @@ -15,10 +15,12 @@ * */ -#include -#include "common.h" +// EXTERNAL INCLUDES #include +// INTERNAL INCLUDES +#include "common.h" + #ifdef __cplusplus extern "C" { diff --git a/dali-csharp-binder/src/style-manager-wrap.cpp b/dali-csharp-binder/src/style-manager-wrap.cpp index 053f8cf..b7fd20a 100644 --- a/dali-csharp-binder/src/style-manager-wrap.cpp +++ b/dali-csharp-binder/src/style-manager-wrap.cpp @@ -1,23 +1,26 @@ -/** Copyright (c) 2021 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. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -* -*/ -#include -#include "common.h" +/* + * Copyright (c) 2021 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. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ +// EXTERNAL INCLUDES #include +// INTERNAL INCLUDES +#include "common.h" + /* Callback for returning strings to C# without leaking memory */ typedef char *(SWIGSTDCALL *SWIG_CSharpStringHelperCallback)(const char*); extern SWIG_CSharpStringHelperCallback SWIG_csharp_string_callback; diff --git a/dali-csharp-binder/src/text-editor-wrap.cpp b/dali-csharp-binder/src/text-editor-wrap.cpp index f31b1c9..2355032 100755 --- a/dali-csharp-binder/src/text-editor-wrap.cpp +++ b/dali-csharp-binder/src/text-editor-wrap.cpp @@ -1,23 +1,27 @@ -/** Copyright (c) 2020 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. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -* -*/ - -#include "common.h" +/* + * Copyright (c) 2020 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. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +// EXTERNAL INCLUDES #include #include +// INTERNAL INCLUDES +#include "common.h" + /* Callback for returning strings to C# without leaking memory */ typedef char * (SWIGSTDCALL* SWIG_CSharpStringHelperCallback)(const char *); extern SWIG_CSharpStringHelperCallback SWIG_csharp_string_callback; diff --git a/dali-csharp-binder/src/text-field-wrap.cpp b/dali-csharp-binder/src/text-field-wrap.cpp index 0db9f0e..9dc1332 100755 --- a/dali-csharp-binder/src/text-field-wrap.cpp +++ b/dali-csharp-binder/src/text-field-wrap.cpp @@ -1,23 +1,27 @@ -/** Copyright (c) 2020 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. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -* -*/ - -#include "common.h" +/* + * Copyright (c) 2020 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. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +// EXTERNAL INCLUDES #include #include +// INTERNAL INCLUDES +#include "common.h" + /* Callback for returning strings to C# without leaking memory */ typedef char * (SWIGSTDCALL* SWIG_CSharpStringHelperCallback)(const char *); extern SWIG_CSharpStringHelperCallback SWIG_csharp_string_callback; diff --git a/dali-csharp-binder/src/text-label-wrap.cpp b/dali-csharp-binder/src/text-label-wrap.cpp index 3f78af8..a10ca01 100755 --- a/dali-csharp-binder/src/text-label-wrap.cpp +++ b/dali-csharp-binder/src/text-label-wrap.cpp @@ -1,7 +1,27 @@ -#include "common.h" +/* + * Copyright (c) 2021 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. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +// EXTERNAL INCLUDES #include #include +// INTERNAL INCLUDES +#include "common.h" + SWIGINTERN bool Dali_Signal_Sl_void_Sp_Dali_Toolkit_TextLabel_SP__Sg__Empty(Dali::Signal< void (Dali::Toolkit::TextLabel) > const *self){ return self->Empty(); } diff --git a/dali-csharp-binder/src/text-utils-wrap.cpp b/dali-csharp-binder/src/text-utils-wrap.cpp index c4c74e2..f450333 100755 --- a/dali-csharp-binder/src/text-utils-wrap.cpp +++ b/dali-csharp-binder/src/text-utils-wrap.cpp @@ -1,23 +1,27 @@ -/** Copyright (c) 2020 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. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -* -*/ - -#include "common.h" +/* + * Copyright (c) 2020 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. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +// EXTERNAL INCLUDES #include #include +// INTERNAL INCLUDES +#include "common.h" + extern SWIG_CSharpStringHelperCallback SWIG_csharp_string_callback; #ifdef __cplusplus diff --git a/dali-csharp-binder/src/tizen-dependency-wrap.cpp b/dali-csharp-binder/src/tizen-dependency-wrap.cpp index 90b7345..06eb44c 100644 --- a/dali-csharp-binder/src/tizen-dependency-wrap.cpp +++ b/dali-csharp-binder/src/tizen-dependency-wrap.cpp @@ -1,25 +1,28 @@ -/** Copyright (c) 2020 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. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -* -*/ - -#include "common.h" +/* + * Copyright (c) 2020 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. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +// EXTERNAL INCLUDES #include - #include #include +// INTERNAL INCLUDES +#include "common.h" + #ifdef __cplusplus extern "C" { #endif diff --git a/dali-csharp-binder/src/transition-base-wrap.cpp b/dali-csharp-binder/src/transition-base-wrap.cpp index 89bec7a..0dd026e 100755 --- a/dali-csharp-binder/src/transition-base-wrap.cpp +++ b/dali-csharp-binder/src/transition-base-wrap.cpp @@ -15,10 +15,11 @@ * */ -#include -#include "common.h" +// EXTERNAL INCLUDES #include -#include + +// INTERNAL INCLUDES +#include "common.h" #ifdef __cplusplus extern "C" diff --git a/dali-csharp-binder/src/transition-effects-wrap.cpp b/dali-csharp-binder/src/transition-effects-wrap.cpp index d2778e6..5f81724 100755 --- a/dali-csharp-binder/src/transition-effects-wrap.cpp +++ b/dali-csharp-binder/src/transition-effects-wrap.cpp @@ -1,27 +1,29 @@ -/** Copyright (c) 2019 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. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -* -*/ - -#include "common.h" +/* + * Copyright (c) 2019 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. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +// EXTERNAL INCLUDES +#include #include #include #include #include -#include - +// INTERNAL INCLUDES +#include "common.h" SWIGINTERN bool Dali_Signal_Sl_void_Sp_Dali_Toolkit_CubeTransitionEffect_SP__Sg__Empty(Dali::Signal< void(Dali::Toolkit::CubeTransitionEffect) > const *self) { return self->Empty(); diff --git a/dali-csharp-binder/src/transition-set-wrap.cpp b/dali-csharp-binder/src/transition-set-wrap.cpp index 2e5da38..d0e24cc 100755 --- a/dali-csharp-binder/src/transition-set-wrap.cpp +++ b/dali-csharp-binder/src/transition-set-wrap.cpp @@ -15,10 +15,11 @@ * */ -#include -#include "common.h" +// EXTERNAL INCLUDES #include -#include + +// INTERNAL INCLUDES +#include "common.h" SWIGINTERN bool Dali_TransitionSet_Signal_Empty(Dali::Toolkit::TransitionSet::TransitionSetSignalType const *self) { diff --git a/dali-csharp-binder/src/transition-wrap.cpp b/dali-csharp-binder/src/transition-wrap.cpp index 544a41f..a31d25a 100755 --- a/dali-csharp-binder/src/transition-wrap.cpp +++ b/dali-csharp-binder/src/transition-wrap.cpp @@ -15,10 +15,12 @@ * */ -#include -#include "common.h" +// EXTERNAL INCLUDES #include +// INTERNAL INCLUDES +#include "common.h" + #ifdef __cplusplus extern "C" { diff --git a/dali-csharp-binder/src/tts-player-wrap.cpp b/dali-csharp-binder/src/tts-player-wrap.cpp index 5c24d5e..0c42ffc 100755 --- a/dali-csharp-binder/src/tts-player-wrap.cpp +++ b/dali-csharp-binder/src/tts-player-wrap.cpp @@ -1,21 +1,25 @@ -/** Copyright (c) 2017 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. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -* -*/ +/* + * Copyright (c) 2017 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. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +// EXTERNAL INCLUDES +#include +// INTERNAL INCLUDES #include "common.h" -#include SWIGINTERN bool Dali_Signal_Sl_void_Sp_Dali_TtsPlayer_State_SS_const_Sc_Dali_TtsPlayer_State_SS_const_SP__Sg__Empty(Dali::Signal< void (Dali::TtsPlayer::State const,Dali::TtsPlayer::State const) > const *self){ return self->Empty(); diff --git a/dali-csharp-binder/src/version-check.cpp b/dali-csharp-binder/src/version-check.cpp index ecf1227..e75f9fc 100755 --- a/dali-csharp-binder/src/version-check.cpp +++ b/dali-csharp-binder/src/version-check.cpp @@ -1,4 +1,5 @@ -/* Copyright (c) 2018 Samsung Electronics Co., Ltd. +/* + * Copyright (c) 2018 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. @@ -14,6 +15,7 @@ * */ +// INTERNAL INCLUDES #include "common.h" #ifdef __cplusplus diff --git a/dali-csharp-binder/src/view-wrapper-impl-wrap.h b/dali-csharp-binder/src/view-wrapper-impl-wrap.h index e75cb9a..809f156 100644 --- a/dali-csharp-binder/src/view-wrapper-impl-wrap.h +++ b/dali-csharp-binder/src/view-wrapper-impl-wrap.h @@ -18,11 +18,13 @@ * */ -#include "common.h" - +// EXTERNAL INCLUDES #include #include +// INTERNAL INCLUDES +#include "common.h" + class SwigDirector_ViewWrapperImpl : public Dali::Toolkit::Internal::ControlWrapper { public: diff --git a/dali-csharp-binder/src/visual-actions-wrap.cpp b/dali-csharp-binder/src/visual-actions-wrap.cpp index d22b0fa..0ced6ca 100644 --- a/dali-csharp-binder/src/visual-actions-wrap.cpp +++ b/dali-csharp-binder/src/visual-actions-wrap.cpp @@ -1,26 +1,29 @@ -/** Copyright (c) 2021 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. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -* -*/ -#include -#include "common.h" +/* + * Copyright (c) 2021 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. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ +// EXTERNAL INCLUDES #include #include #include #include +// INTERNAL INCLUDES +#include "common.h" + #ifdef __cplusplus extern "C" { diff --git a/dali-csharp-binder/src/watch-view-wrap.cpp b/dali-csharp-binder/src/watch-view-wrap.cpp index 0cdaa69..cc40bce 100755 --- a/dali-csharp-binder/src/watch-view-wrap.cpp +++ b/dali-csharp-binder/src/watch-view-wrap.cpp @@ -1,24 +1,27 @@ -/** Copyright (c) 2020 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. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -* -*/ +/* + * Copyright (c) 2020 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. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +// EXTERNAL INCLUDES +#include +#include +// INTERNAL INCLUDES #include "common.h" -#include -#include - #ifdef __cplusplus extern "C" { #endif diff --git a/dali-csharp-binder/src/watch-wrap.cpp b/dali-csharp-binder/src/watch-wrap.cpp index 3c5df8e..40afc50 100755 --- a/dali-csharp-binder/src/watch-wrap.cpp +++ b/dali-csharp-binder/src/watch-wrap.cpp @@ -1,23 +1,27 @@ -/** Copyright (c) 2017 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. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -* -*/ - -#include "common.h" +/* + * Copyright (c) 2017 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. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +// EXTERNAL INCLUDES #include #include +// INTERNAL INCLUDES +#include "common.h" + /* Callback for returning strings to C# without leaking memory */ typedef char * (SWIGSTDCALL* SWIG_CSharpStringHelperCallback)(const char *); extern SWIG_CSharpStringHelperCallback SWIG_csharp_string_callback; diff --git a/dali-csharp-binder/src/web-view-wrap.cpp b/dali-csharp-binder/src/web-view-wrap.cpp index 909bbca..8618503 100755 --- a/dali-csharp-binder/src/web-view-wrap.cpp +++ b/dali-csharp-binder/src/web-view-wrap.cpp @@ -1,4 +1,5 @@ -/** Copyright (c) 2021 Samsung Electronics Co., Ltd. +/* + * Copyright (c) 2021 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. @@ -14,15 +15,8 @@ * */ -#include "common.h" - // EXTERNAL INCLUDES -#include -#include -#include -#include -#include -#include +#include #include #include #include @@ -36,7 +30,15 @@ #include #include #include -#include +#include +#include +#include +#include +#include +#include + +// INTERNAL INCLUDES +#include "common.h" /* Callback for returning strings to C# without leaking memory */ typedef char *(SWIGSTDCALL *SWIG_CSharpStringHelperCallback)(const char*); diff --git a/dali-csharp-binder/src/widget-view-manager-wrap.cpp b/dali-csharp-binder/src/widget-view-manager-wrap.cpp index de28d87..cbf5a99 100755 --- a/dali-csharp-binder/src/widget-view-manager-wrap.cpp +++ b/dali-csharp-binder/src/widget-view-manager-wrap.cpp @@ -1,23 +1,27 @@ -/** Copyright (c) 2017 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. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -* -*/ - -#include "common.h" +/* + * Copyright (c) 2017 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. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +// EXTERNAL INCLUDES #include #include +// INTERNAL INCLUDES +#include "common.h" + #ifdef __cplusplus extern "C" { diff --git a/dali-csharp-binder/src/widget-view-wrap.cpp b/dali-csharp-binder/src/widget-view-wrap.cpp index a511196..076e7f7 100755 --- a/dali-csharp-binder/src/widget-view-wrap.cpp +++ b/dali-csharp-binder/src/widget-view-wrap.cpp @@ -1,23 +1,26 @@ -/** Copyright (c) 2017 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. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -* -*/ +/* + * Copyright (c) 2017 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. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +// EXTERNAL INCLUDES +#include +// INTERNAL INCLUDES #include "common.h" -#include - SWIGINTERN bool Dali_Signal_Sl_void_Sp_Dali_WidgetView_WidgetView_SP__Sg__Empty(Dali::Signal< void (Dali::WidgetView::WidgetView) > const *self){ return self->Empty(); } diff --git a/dali-csharp-binder/src/window-wrap.cpp b/dali-csharp-binder/src/window-wrap.cpp index fab1d85..a77a70e 100644 --- a/dali-csharp-binder/src/window-wrap.cpp +++ b/dali-csharp-binder/src/window-wrap.cpp @@ -1,25 +1,28 @@ -/** Copyright (c) 2020 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. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -* -*/ - -#include "common.h" -#include +/* + * Copyright (c) 2020 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. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +// EXTERNAL INCLUDES #include +#include #include #include -#include + +// INTERNAL INCLUDES +#include "common.h" /* Callback for returning strings to C# without leaking memory */ typedef char * (SWIGSTDCALL* SWIG_CSharpStringHelperCallback)(const char *); -- 2.7.4