Add dali-scene3d.h for increase app developer convenience 98/293598/3
authorEunki, Hong <eunkiki.hong@samsung.com>
Wed, 31 May 2023 23:56:45 +0000 (08:56 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Thu, 1 Jun 2023 01:14:02 +0000 (10:14 +0900)
Follow dali/dali.h, dali-toolkit/dali-toolkit.h,
Let we make dali-scene3d/dali-scene3d.h which contain all kind of
public-api of dali-scene3d.

So even if we refactorize dali-scene3d directory system,
let other application didn't got effort.

Change-Id: I22b8bca67177280d04f6d5c2db7ecdec6b0b9484
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
build/tizen/dali-scene3d/CMakeLists.txt
dali-scene3d/dali-scene3d.h [new file with mode: 0644]
packaging/dali-toolkit.spec

index ec93469..57d1b4a 100644 (file)
@@ -162,11 +162,15 @@ ELSE()
 ENDIF()
 
 file(GLOB scene3d_include_files ${scene3d_public_api_dir})
+
 install(DIRECTORY ${scene3d_include_files}
-       DESTINATION "${prefix_include_dir}/dali-scene3d"
+       DESTINATION "${INCLUDE_DIR}/dali-scene3d"
        FILES_MATCHING PATTERN "*.h"
 )
 
+# Install dali-scene3d.h
+INSTALL( FILES ${scene3d_dir}/dali-scene3d.h DESTINATION ${INCLUDE_DIR}/dali-scene3d )
+
 if (ENABLE_PKG_CONFIGURE)
        install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${core_pkg_cfg_file}
                DESTINATION ${LIB_DIR}/pkgconfig
diff --git a/dali-scene3d/dali-scene3d.h b/dali-scene3d/dali-scene3d.h
new file mode 100644 (file)
index 0000000..2d3bad9
--- /dev/null
@@ -0,0 +1,74 @@
+#ifndef DALI_SCENE3D_H
+#define DALI_SCENE3D_H
+
+/*
+ * Copyright (c) 2023 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 <dali-toolkit/dali-toolkit.h>
+#include <dali/dali.h>
+
+#include <dali-scene3d/public-api/algorithm/navigation-mesh.h>
+#include <dali-scene3d/public-api/algorithm/path-finder-waypoint.h>
+#include <dali-scene3d/public-api/algorithm/path-finder.h>
+
+#include <dali-scene3d/public-api/common/environment-map.h>
+
+#include <dali-scene3d/public-api/controls/model/model.h>
+#include <dali-scene3d/public-api/controls/scene-view/scene-view.h>
+
+#include <dali-scene3d/public-api/loader/alpha-function-helper.h>
+#include <dali-scene3d/public-api/loader/animated-property.h>
+#include <dali-scene3d/public-api/loader/animation-definition.h>
+#include <dali-scene3d/public-api/loader/blend-shape-details.h>
+#include <dali-scene3d/public-api/loader/buffer-definition.h>
+#include <dali-scene3d/public-api/loader/bvh-loader.h>
+#include <dali-scene3d/public-api/loader/camera-parameters.h>
+#include <dali-scene3d/public-api/loader/customization.h>
+#include <dali-scene3d/public-api/loader/dli-input-parameter.h>
+#include <dali-scene3d/public-api/loader/environment-definition.h>
+#include <dali-scene3d/public-api/loader/environment-map-data.h>
+#include <dali-scene3d/public-api/loader/environment-map-loader.h>
+#include <dali-scene3d/public-api/loader/facial-animation-loader.h>
+#include <dali-scene3d/public-api/loader/index.h>
+#include <dali-scene3d/public-api/loader/ktx-loader.h>
+#include <dali-scene3d/public-api/loader/light-parameters.h>
+#include <dali-scene3d/public-api/loader/load-result.h>
+#include <dali-scene3d/public-api/loader/load-scene-metadata.h>
+#include <dali-scene3d/public-api/loader/material-definition.h>
+#include <dali-scene3d/public-api/loader/matrix-stack.h>
+#include <dali-scene3d/public-api/loader/mesh-definition.h>
+#include <dali-scene3d/public-api/loader/mesh-geometry.h>
+#include <dali-scene3d/public-api/loader/model-loader.h>
+#include <dali-scene3d/public-api/loader/navigation-mesh-factory.h>
+#include <dali-scene3d/public-api/loader/node-definition.h>
+#include <dali-scene3d/public-api/loader/parse-renderer-state.h>
+#include <dali-scene3d/public-api/loader/renderer-state.h>
+#include <dali-scene3d/public-api/loader/resource-bundle.h>
+#include <dali-scene3d/public-api/loader/scene-definition.h>
+#include <dali-scene3d/public-api/loader/shader-definition-factory.h>
+#include <dali-scene3d/public-api/loader/shader-definition.h>
+#include <dali-scene3d/public-api/loader/skeleton-definition.h>
+#include <dali-scene3d/public-api/loader/skinning-details.h>
+#include <dali-scene3d/public-api/loader/string-callback.h>
+#include <dali-scene3d/public-api/loader/utils.h>
+#include <dali-scene3d/public-api/loader/view-projection.h>
+
+#include <dali-scene3d/public-api/model-components/material.h>
+#include <dali-scene3d/public-api/model-components/model-node.h>
+#include <dali-scene3d/public-api/model-components/model-primitive.h>
+
+#endif // DALI_SCENE3D_H
\ No newline at end of file
index 3119d7c..5b08760 100644 (file)
@@ -493,4 +493,5 @@ esac
 %files -n %{dali2_scene3d}-devel
 %defattr(-,root,root,-)
 %{_includedir}/dali-scene3d/public-api/*
+%{_includedir}/dali-scene3d/dali-scene3d.h
 %{_libdir}/pkgconfig/dali2-scene3d.pc