gbs build -A [TARGET_ARCH] --spec dali-adaptor-mobile.spec
+ Alternatively for latest devices:
+
+ gbs build -A [TARGET_ARCH] --spec dali-adaptor-mobile.spec --define "TIZEN_SDK_2_3 1"
+
1.3. WEARABLE Profile
---------------------
// INTERNAL INCLUDES
#include <dali/integration-api/platform-abstraction.h>
+// EXTERNAL INCLUDES
+#include <cstdio>
+
namespace Dali
{
#include <base/interfaces/performance-interface.h>
#include <base/performance-logging/statistics/stat-context-log-interface.h>
+// EXTERNAL INCLUDES
+#include <string>
namespace Dali
{
// CLASS HEADER
#include "update-thread.h"
-// EXTERNAL INCLUDES
-#include <boost/thread.hpp>
-
// INTERNAL INCLUDES
#include <dali/integration-api/debug.h>
#include <base/interfaces/adaptor-internal-services.h>
#include <base/update-render-synchronization.h>
#include <base/environment-options.h>
+// EXTERNAL INCLUDES
+#include <boost/thread.hpp>
+#include <cstdio>
+
namespace Dali
{
const unsigned int ADAPTOR_MAJOR_VERSION = 1;
const unsigned int ADAPTOR_MINOR_VERSION = 0;
-const unsigned int ADAPTOR_MICRO_VERSION = 29;
+const unsigned int ADAPTOR_MICRO_VERSION = 30;
const char * const ADAPTOR_BUILD_DATE = __DATE__ " " __TIME__;
#ifdef DEBUG_ENABLED
mEventCallback.terminate = AppTerminate;
mEventCallback.pause = AppPause;
mEventCallback.resume = AppResume;
+#if defined(TIZEN_SDK_2_3)
+ mEventCallback.app_control = AppControl;
+#else
mEventCallback.service = AppService;
+#endif
mEventCallback.low_memory = NULL;
mEventCallback.low_battery = NULL;
mEventCallback.device_orientation = DeviceRotated;
* Called by AppCore when the application is launched from another module (e.g. homescreen).
* @param[in] b the bundle data which the launcher module sent
*/
+
+#if defined(TIZEN_SDK_2_3)
+ static void AppControl(app_control_h app_control, void *data)
+#else
static void AppService(service_h service, void *data)
+#endif
{
Framework* framework = static_cast<Framework*>(data);
if(framework)
{
bundle *bundleData = NULL;
+#if defined(TIZEN_SDK_2_3)
+ app_control_to_bundle(app_control, &bundleData);
+#else
service_to_bundle(service, &bundleData);
+#endif
if(bundleData)
{
// EXTERNAL INCLUDES
#include <cmath>
-#ifdef DALI_PROFILE_LITE
+#ifdef SENSOR_ENABLED
#include <sensor_internal.h>
-#else
-#include <sensor.h>
#endif
#include <dali/public-api/object/type-registry.h>
// INTERNAL INCLUDES
#include <singleton-service-impl.h>
-#ifdef __arm__
-#define SENSOR_ENABLED
-#endif
-
namespace // unnamed namespace
{
Name: dali-adaptor
Summary: The DALi Tizen Adaptor
-Version: 1.0.29
+Version: 1.0.30
Release: 1
Group: System/Libraries
License: Apache-2.0
Name: dali-adaptor
Summary: The DALi Tizen Adaptor
-Version: 1.0.29
+Version: 1.0.30
Release: 1
Group: System/Libraries
License: Apache-2.0
CXXFLAGS+=" -D_ARCH_ARM_ -lgcc"
%endif
+%if 0%{?TIZEN_SDK_2_3}
+CXXFLAGS+=" -DTIZEN_SDK_2_3"
+%endif
+
libtoolize --force
cd %{_builddir}/%{name}-%{version}/build/tizen
autoreconf --install
Name: dali-adaptor
Summary: The DALi Tizen Adaptor
-Version: 1.0.29
+Version: 1.0.30
Release: 1
Group: System/Libraries
License: Apache-2.0
Name: dali-adaptor
Summary: The DALi Tizen Adaptor
-Version: 1.0.29
+Version: 1.0.30
Release: 1
Group: System/Libraries
License: Apache-2.0
Name: dali-adaptor
Summary: The DALi Tizen Adaptor
-Version: 1.0.29
+Version: 1.0.30
Release: 1
Group: System/Libraries
License: Apache-2.0
// EXTERNAL INCLUDES
#include <boost/functional/hash.hpp>
#include <boost/thread.hpp>
+#include <cstdio>
namespace Dali
{
#include <dali/integration-api/bitmap.h>
#include <dali/public-api/images/image-attributes.h>
+#include <cstdlib>
+
namespace Dali
{
using Integration::Bitmap;
// Class header
#include "assimp-model-builder.h"
-// External headers
-#include <libgen.h>
-#include <assimp/assimp.hpp>
-#include <assimp/aiScene.h>
-#include <assimp/aiPostProcess.h> // Post processing flags
-
// Core headers
#include <dali/public-api/common/light.h>
#include <dali/public-api/math/matrix.h>
#include <dali/public-api/modeling/entity-animator-map.h>
#include <dali/public-api/modeling/model-data.h>
#include <dali/public-api/modeling/model-animation-map.h>
-
#include <dali/public-api/animation/key-frames.h>
-
#include <dali/integration-api/debug.h>
// Local headers
#include "assimp-proxy.h"
#include "left-hand-convertor.h"
+// External headers
+#include <libgen.h>
+#include <assimp/assimp.hpp>
+#include <assimp/aiScene.h>
+#include <assimp/aiPostProcess.h> // Post processing flags
+#include <cstdio>
+
namespace Dali
{
namespace SlpPlatform
// EXTERNAL INCLUDES
#ifndef DALI_PROFILE_UBUNTU
#include <dlog.h>
-#endif // DALI_PROFILE_UBUNTU
+#else // DALI_PROFILE_UBUNTU
+#include <cstdio>
+#endif
namespace Dali
{