#define __DALI_TEST_APPLICATION_H__
/*
- * Copyright (c) 2017 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.
namespace Dali
{
-class DALI_IMPORT_API TestApplication : public ConnectionTracker
+class DALI_CORE_API TestApplication : public ConnectionTracker
{
public:
#define __DALI_TEST_GESTURE_MANAGER_H__
/*
- * Copyright (c) 2014 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.
/**
* Concrete implementation of the gesture manager class.
*/
-class DALI_IMPORT_API TestGestureManager : public Dali::Integration::GestureManager
+class DALI_CORE_API TestGestureManager : public Dali::Integration::GestureManager
{
public:
#define TEST_GL_ABSTRACTION_H
/*
- * Copyright (c) 2017 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.
"aBoneIndices" // ATTRIB_BONE_INDICES
};
-class DALI_IMPORT_API TestGlAbstraction: public Dali::Integration::GlAbstraction
+class DALI_CORE_API TestGlAbstraction: public Dali::Integration::GlAbstraction
{
public:
TestGlAbstraction();
#define __TEST_GL_SYNC_ABSTRACTION_H__
/*
- * Copyright (c) 2016 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.
namespace Dali
{
-class DALI_IMPORT_API TestSyncObject : public Integration::GlSyncAbstraction::SyncObject
+class DALI_CORE_API TestSyncObject : public Integration::GlSyncAbstraction::SyncObject
{
public:
TestSyncObject(TraceCallStack& trace);
/**
* Class to emulate the GL sync functions with tracing
*/
-class DALI_IMPORT_API TestGlSyncAbstraction: public Integration::GlSyncAbstraction
+class DALI_CORE_API TestGlSyncAbstraction: public Integration::GlSyncAbstraction
{
public:
/**
#define __TEST_NATIVE_IMAGE_H__
/*
- * Copyright (c) 2017 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.
typedef IntrusivePtr<TestNativeImage> TestNativeImagePointer;
typedef IntrusivePtr<TestNativeImageNoExt> TestNativeImageNoExtPointer;
-class DALI_IMPORT_API TestNativeImageExtension: public Dali::NativeImageInterface::Extension
+class DALI_CORE_API TestNativeImageExtension: public Dali::NativeImageInterface::Extension
{
public:
inline const char* GetCustomFragmentPreFix(){return "#extension GL_OES_EGL_image_external:require\n";}
};
-class DALI_IMPORT_API TestNativeImage : public Dali::NativeImageInterface
+class DALI_CORE_API TestNativeImage : public Dali::NativeImageInterface
{
public:
static TestNativeImagePointer New(int width, int height);
};
-class DALI_IMPORT_API TestNativeImageNoExt : public Dali::NativeImageInterface
+class DALI_CORE_API TestNativeImageNoExt : public Dali::NativeImageInterface
{
public:
static TestNativeImageNoExtPointer New(int width, int height);
#define __DALI_TEST_PLATFORM_ABSTRACTION_H__
/*
- * Copyright (c) 2017 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.
/**
* Concrete implementation of the platform abstraction class.
*/
-class DALI_IMPORT_API TestPlatformAbstraction : public Dali::Integration::PlatformAbstraction
+class DALI_CORE_API TestPlatformAbstraction : public Dali::Integration::PlatformAbstraction
{
public:
#define __TEST_RENDER_CONTROLLER_H__
/*
- * Copyright (c) 2017 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.
namespace Dali
{
-class DALI_IMPORT_API TestRenderController : public Dali::Integration::RenderController
+class DALI_CORE_API TestRenderController : public Dali::Integration::RenderController
{
public:
TestRenderController();
#define __DALI_ACCESSIBILITY_ACTION_HANDLER_H__
/*
- * Copyright (c) 2015 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.
*/
// EXTERNAL INCLUDES
-#include <dali/public-api/common/dali-common.h>
+#include <dali/public-api/dali-adaptor-common.h>
#include <dali/public-api/events/touch-event.h>
namespace Dali
#define __DALI_ACCESSIBILITY_ADAPTOR_H__
/*
- * Copyright (c) 2015 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.
// EXTERNAL INCLUDES
#include <dali/public-api/events/touch-event.h>
#include <dali/public-api/object/base-handle.h>
+#include <dali/public-api/dali-adaptor-common.h>
namespace Dali
{
* @brief The AccessibilityAdaptor provides communication to the indicator and the accessibility manager interface (implemented in toolkit).
*
*/
-class DALI_IMPORT_API AccessibilityAdaptor : public BaseHandle
+class DALI_ADAPTOR_API AccessibilityAdaptor : public BaseHandle
{
public:
#define DALI_APPLICATION_DEVEL_H
/*
- * Copyright (c) 2017 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.
* @param[in,out] argc A pointer to the number of arguments
* @param[in,out] argv A pointer to the argument list
*/
-DALI_IMPORT_API void PreInitialize( int* argc, char** argv[] );
+DALI_ADAPTOR_API void PreInitialize( int* argc, char** argv[] );
} // namespace DevelApplication
#define __DALI_APPLICATION_EXTENSIONS_H__
/*
- * Copyright (c) 2015 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.
*
*/
-// EXTERNAL INCLUDES
-#include <dali/public-api/common/dali-common.h>
+// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
namespace Dali
{
* It provides some extension methods to DaliApplication.
*
*/
-class DALI_IMPORT_API ApplicationExtensions
+class DALI_ADAPTOR_API ApplicationExtensions
{
public:
#define __DALI_ADAPTOR_BITMAP_SAVER_H__
/*
- * Copyright (c) 2015 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.
#include <string>
#include <dali/public-api/images/pixel.h>
+// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
+
namespace Dali
{
*
* @return true if the file was saved
*/
-DALI_IMPORT_API bool EncodeToFile(const unsigned char* const pixelBuffer,
+DALI_ADAPTOR_API bool EncodeToFile(const unsigned char* const pixelBuffer,
const std::string& filename,
const Pixel::Format pixelFormat,
const std::size_t width,
#define __DALI_CLIPBOARD_EVENT_NOTIFIER_H__
/*
- * Copyright (c) 2015 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.
#include <dali/public-api/object/base-handle.h>
#include <dali/public-api/signals/dali-signal.h>
+// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
+
namespace Dali
{
/**
* @brief The ClipboardEventNotifier provides signals when clipboard events are received from the device.
*/
-class DALI_IMPORT_API ClipboardEventNotifier : public BaseHandle
+class DALI_ADAPTOR_API ClipboardEventNotifier : public BaseHandle
{
public:
#define __DALI_CLIPBOARD_H__
/*
- * Copyright (c) 2016 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.
#include <dali/public-api/math/rect.h>
#include <dali/public-api/object/base-handle.h>
+// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
namespace Dali
{
* Clipboard can manage it's item and set show / hide status.
*/
-class DALI_IMPORT_API Clipboard : public BaseHandle
+class DALI_ADAPTOR_API Clipboard : public BaseHandle
{
public:
/**
#define __DALI_COLOR_CONTROLLER_H__
/*
- * Copyright (c) 2015 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.
#include <dali/public-api/object/base-handle.h>
#include <dali/public-api/math/vector4.h>
+// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
+
namespace Dali
{
*
* It provides the functionality of retrieving a RGBA color by passing in the color code string.
*/
-class DALI_IMPORT_API ColorController : public BaseHandle
+class DALI_ADAPTOR_API ColorController : public BaseHandle
{
public:
#define __DALI_DRAG_AND_DROP_DETECTOR_H__
/*
- * Copyright (c) 2015 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.
#include <dali/public-api/object/base-handle.h>
#include <dali/public-api/signals/dali-signal.h>
+// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
+
namespace Dali
{
*
* @endcode
*/
-class DALI_IMPORT_API DragAndDropDetector : public BaseHandle
+class DALI_ADAPTOR_API DragAndDropDetector : public BaseHandle
{
public:
#define __DALI_ENVIRONMENT_VARIABLE_H__
/*
- * Copyright (c) 2015 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.
* limitations under the License.
*/
-#include <dali/public-api/common/dali-common.h>
+// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
namespace Dali
{
* @param[in] variable Null-terminated character string identifying the name of the environmental variable to look for.
* @return A C-string containing the value of the specified environment variable.
*/
-DALI_IMPORT_API const char * GetEnvironmentVariable( const char * variable );
+DALI_ADAPTOR_API const char * GetEnvironmentVariable( const char * variable );
} // namespace EnvironmentVariable
#define __DALI_EVENT_FEEDER_H_
/*
- * Copyright (c) 2015 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.
*
*/
-// EXTERNAL INCLUDES
-#include <dali/public-api/common/dali-common.h>
+// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
namespace Dali
{
*
* @note For testing/automation purposes only.
*/
-DALI_IMPORT_API void FeedTouchPoint( TouchPoint& point, int timeStamp );
+DALI_ADAPTOR_API void FeedTouchPoint( TouchPoint& point, int timeStamp );
/**
* Feed a wheel event to the adaptor.
*
* @note For testing/automation purposes only.
*/
-DALI_IMPORT_API void FeedWheelEvent( WheelEvent& wheelEvent );
+DALI_ADAPTOR_API void FeedWheelEvent( WheelEvent& wheelEvent );
/**
* Feed a key event to the adaptor.
*
* @note For testing/automation purposes only.
*/
-DALI_IMPORT_API void FeedKeyEvent( KeyEvent& keyEvent );
+DALI_ADAPTOR_API void FeedKeyEvent( KeyEvent& keyEvent );
} // namespace EventFeeder
#define __DALI_EVENT_THREAD_CALLBACK_H_
/*
- * Copyright (c) 2015 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.
*/
// EXTERNAL INCLUDES
-#include <dali/public-api/common/dali-common.h>
#include <dali/public-api/signals/callback.h>
+// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
+
namespace Dali
{
*
* @note The EventThreadCallback object should only be created in the main thread.
*/
-class DALI_IMPORT_API EventThreadCallback
+class DALI_ADAPTOR_API EventThreadCallback
{
public:
#define __DALI_FEEDBACK_PLAYER_H__
/*
- * Copyright (c) 2015 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.
// EXTERNAL INCLUDES
#include <dali/public-api/object/base-handle.h>
+// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
+
namespace Dali
{
/**
* @brief Plays feedback effects.
*/
-class DALI_IMPORT_API FeedbackPlayer : public BaseHandle
+class DALI_ADAPTOR_API FeedbackPlayer : public BaseHandle
{
public:
#define __DALI_FEEDBACK_PLUGIN_H__
/*
- * Copyright (c) 2015 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.
// EXTERNAL INCLUDES
#include <string>
-#include <dali/public-api/common/dali-common.h>
+
+// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
namespace Dali
{
#define __DALI_FILE_LOADER_H__
/*
- * Copyright (c) 2015 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.
* limitations under the License.
*/
+// EXTERNAL INCLUDES
#include <string>
-#include <dali/public-api/common/dali-common.h>
#include <dali/public-api/object/base-handle.h>
+// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
+
namespace Dali
{
*
*
*/
-DALI_IMPORT_API int ReadFile(const std::string& filename, Dali::Vector<char> & memblock, FileLoader::FileType fileType = BINARY);
+DALI_ADAPTOR_API int ReadFile(const std::string& filename, Dali::Vector<char> & memblock, FileLoader::FileType fileType = BINARY);
/**
* @brief Load the file. It will load it either as a binary or as a text
* @return error code. 0 - Error, 1 - Ok
*
*/
-DALI_IMPORT_API int ReadFile(const std::string& filename, std::streampos& fileSize, Dali::Vector<char> & memblock, FileLoader::FileType fileType = BINARY);
+DALI_ADAPTOR_API int ReadFile(const std::string& filename, std::streampos& fileSize, Dali::Vector<char> & memblock, FileLoader::FileType fileType = BINARY);
/**
* @brief Get the file size of a file
* @param[in] filename Filename of the file to load.
* @return the size of the file or 0 if file not found
*/
-DALI_IMPORT_API std::streampos GetFileSize(const std::string& filename);
+DALI_ADAPTOR_API std::streampos GetFileSize(const std::string& filename);
};
} // Dali
#include <dali/public-api/common/vector-wrapper.h>
#include <dali/public-api/math/uint-16-pair.h>
+// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
+
namespace Dali
{
class PixelData;
* is released. (This is to speed up frame loads, which would otherwise have to re-acquire the
* data from disk)
*/
-class DALI_IMPORT_API GifLoading
+class DALI_ADAPTOR_API GifLoading
{
public:
#define DALI_IMAGE_LOADING_H
/*
- * Copyright (c) 2017 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.
// EXTERNAL INCLUDES
#include <string>
-#include <dali/public-api/common/dali-common.h>
#include <dali/public-api/images/image-operations.h>
-
#include <dali/devel-api/adaptor-framework/pixel-buffer.h>
+// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
+
+
namespace Dali
{
* @param [in] orientationCorrection Reorient the image to respect any orientation metadata in its header.
* @return handle to the loaded PixelBuffer object or an empty handle in case loading failed.
*/
-DALI_IMPORT_API Devel::PixelBuffer LoadImageFromFile(
+DALI_ADAPTOR_API Devel::PixelBuffer LoadImageFromFile(
const std::string& url,
ImageDimensions size = ImageDimensions( 0, 0 ),
FittingMode::Type fittingMode = FittingMode::DEFAULT,
* flip the image, e.g., from portrait to landscape.
* @return dimensions that image will have if it is loaded with given parameters.
*/
-DALI_IMPORT_API ImageDimensions GetClosestImageSize(
+DALI_ADAPTOR_API ImageDimensions GetClosestImageSize(
const std::string& filename,
ImageDimensions size = ImageDimensions(0, 0),
FittingMode::Type fittingMode = FittingMode::DEFAULT,
*
* @return handle to the loaded PixelBuffer object or an empty handle in case downloading or decoding failed.
*/
-DALI_IMPORT_API Devel::PixelBuffer DownloadImageSynchronously(
+DALI_ADAPTOR_API Devel::PixelBuffer DownloadImageSynchronously(
const std::string& url,
ImageDimensions size = ImageDimensions( 0, 0 ),
FittingMode::Type fittingMode = FittingMode::DEFAULT,
*
* @param [in] size The maximum texture size to set
*/
-void SetMaxTextureSize( unsigned int size );
+DALI_ADAPTOR_API void SetMaxTextureSize( unsigned int size );
/**
* @brief get the maximum texture size.
*
* @return The maximum texture size
*/
-DALI_IMPORT_API unsigned int GetMaxTextureSize();
+DALI_ADAPTOR_API unsigned int GetMaxTextureSize();
} // Dali
* Specifically manages the ecore input method framework which enables the virtual or hardware keyboards.
*/
-class DALI_IMPORT_API InputMethodContext : public BaseHandle
+class DALI_ADAPTOR_API InputMethodContext : public BaseHandle
{
public:
/**
* Class to handle the Input Method options
*/
-class DALI_IMPORT_API InputMethodOptions
+class DALI_ADAPTOR_API InputMethodOptions
{
public:
#define __DALI_LIFECYCLE_CONTROLLER_H__
/*
- * Copyright (c) 2015 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.
#include <dali/public-api/object/base-handle.h>
#include <dali/public-api/signals/dali-signal.h>
+// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
+
namespace Dali
{
* }
* @endcode
*/
-class DALI_IMPORT_API LifecycleController : public BaseHandle
+class DALI_ADAPTOR_API LifecycleController : public BaseHandle
{
public: // Typedefs
#define __DALI_ORIENTATION_H__
/*
- * Copyright (c) 2015 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.
#include <dali/public-api/signals/dali-signal.h>
#include <dali/public-api/object/base-handle.h>
+// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
+
namespace Dali
{
* Dali applications have full control over visual layout when the device is rotated
* i.e. the application developer decides which UI controls to rotate, if any.
*/
-class DALI_IMPORT_API Orientation : public BaseHandle
+class DALI_ADAPTOR_API Orientation : public BaseHandle
{
public:
#define __DALI_PERFORMANCE_LOGGER_H__
/*
- * Copyright (c) 2015 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.
// EXTERNAL INCLUDES
#include <dali/public-api/object/base-handle.h>
+// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
+
namespace Dali
{
/**
* @brief Performance logger class
*/
-class DALI_IMPORT_API PerformanceLogger : public BaseHandle
+class DALI_ADAPTOR_API PerformanceLogger : public BaseHandle
{
public:
#define __DALI_PHYSICAL_KEYBOARD_H__
/*
- * Copyright (c) 2015 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.
#include <dali/public-api/object/base-handle.h>
#include <dali/public-api/signals/dali-signal.h>
+// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
+
namespace Dali
{
/**
* This is a handle to a physical keyboard connected to the device.
*/
-class DALI_IMPORT_API PhysicalKeyboard : public BaseHandle
+class DALI_ADAPTOR_API PhysicalKeyboard : public BaseHandle
{
public:
#define DALI_PIXEL_BUFFER_H
/*
- * Copyright (c) 2017 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.
#include <dali/public-api/images/pixel-data.h>
#include <dali/public-api/object/base-handle.h>
+// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
+
namespace Dali
{
*
* @SINCE_1_2.46
*/
-class DALI_IMPORT_API PixelBuffer : public BaseHandle
+class DALI_ADAPTOR_API PixelBuffer : public BaseHandle
{
public:
#define __DALI_SINGELTON_SERVICE_H__
/*
- * Copyright (c) 2015 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.
#include <typeinfo>
#include <dali/public-api/object/base-handle.h>
+// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
+
namespace Dali
{
*
* @see Application
*/
-class DALI_IMPORT_API SingletonService : public BaseHandle
+class DALI_ADAPTOR_API SingletonService : public BaseHandle
{
public:
#define __DALI_SOUND_PLAYER_H__
/*
- * Copyright (c) 2015 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.
#include <dali/public-api/object/base-handle.h>
#include <dali/public-api/signals/dali-signal.h>
+// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
+
namespace Dali
{
/**
* @brief Plays sound effects.
*/
-class DALI_IMPORT_API SoundPlayer : public BaseHandle
+class DALI_ADAPTOR_API SoundPlayer : public BaseHandle
{
public:
#define __DALI_STYLE_MONITOR_H__
/*
- * Copyright (c) 2015 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.
* It provides a signal when any aspect of the default style changes on the device.
* @see Adaptor::GetStyleMonitor
*/
-class DALI_IMPORT_API StyleMonitor : public BaseHandle
+class DALI_ADAPTOR_API StyleMonitor : public BaseHandle
{
public: // Typedefs
#define __DALI_TILT_SENSOR_H__
/*
- * Copyright (c) 2015 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.
#include <dali/public-api/object/base-handle.h>
#include <dali/public-api/signals/dali-signal.h>
+// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
+
namespace Dali
{
*
* @endcode
*/
-class DALI_IMPORT_API TiltSensor : public BaseHandle
+class DALI_ADAPTOR_API TiltSensor : public BaseHandle
{
public:
#define __DALI_VIDEO_PLAYER_H__
/*
- * Copyright (c) 2016 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.
//INTERNAL INCLUDES
#include <dali/devel-api/adaptor-framework/video-player-plugin.h>
+#include <dali/public-api/dali-adaptor-common.h>
namespace Dali
{
* @brief VideoPlayer class is used for video playback.
* @SINCE_1_1.38
*/
-class DALI_IMPORT_API VideoPlayer: public BaseHandle
+class DALI_ADAPTOR_API VideoPlayer: public BaseHandle
{
public:
/**
* @brief Show the virtual keyboard.
*/
-DALI_IMPORT_API void Show();
+DALI_ADAPTOR_API void Show();
/**
* @brief Hide the virtual keyboard.
*/
-DALI_IMPORT_API void Hide();
+DALI_ADAPTOR_API void Hide();
/**
* @brief Returns whether the virtual keyboard is visible or not.
* @return true if visible, false otherwise.
*/
-DALI_IMPORT_API bool IsVisible();
+DALI_ADAPTOR_API bool IsVisible();
/**
* @brief Set one or more of the Input Method Settings
* @param[in] settingsMap Map of Settings to be applied.
*/
-DALI_IMPORT_API void ApplySettings( const Property::Map& settingsMap );
+DALI_ADAPTOR_API void ApplySettings( const Property::Map& settingsMap );
/**
* @brief Set the specific return key into the virtual keyboard.
* @param[in] type the kind of return key types.
*/
-DALI_IMPORT_API void SetReturnKeyType( const InputMethod::ButtonAction::Type type );
+DALI_ADAPTOR_API void SetReturnKeyType( const InputMethod::ButtonAction::Type type );
/**
* @brief Retrieve the current return key type.
* @return the type of retun key.
*/
-DALI_IMPORT_API InputMethod::ButtonAction::Type GetReturnKeyType();
+DALI_ADAPTOR_API InputMethod::ButtonAction::Type GetReturnKeyType();
/**
* @brief Enable/disable prediction (predictive text).
* @param[in] enable true or false to enable or disable
* Prediction can not be changed while the keyboard is visible. It must be set in advance of showing keyboard.
*/
-DALI_IMPORT_API void EnablePrediction(const bool enable);
+DALI_ADAPTOR_API void EnablePrediction(const bool enable);
/**
* @brief Returns whether prediction is enabled in the virtual keyboard
* @return true if predictive text enabled, false otherwise.
*/
-DALI_IMPORT_API bool IsPredictionEnabled();
+DALI_ADAPTOR_API bool IsPredictionEnabled();
/**
* @brief Provides size and position of keyboard.
* the values then taken down. So ideally GetSizeAndPosition() should be called after Show().
* @return rect which is keyboard panel x, y, width, height
*/
-DALI_IMPORT_API Dali::Rect<int> GetSizeAndPosition();
+DALI_ADAPTOR_API Dali::Rect<int> GetSizeAndPosition();
/**
* @brief Rotates the keyboard orientation to the given angle.
* Other valid values are 90, 180, 270.
* @param angle the angle is in degrees.
*/
-DALI_IMPORT_API void RotateTo(int angle);
+DALI_ADAPTOR_API void RotateTo(int angle);
/**
* @brief Returns text direction of the keyboard's current input language.
* @return The direction of the text.
*/
-DALI_IMPORT_API TextDirection GetTextDirection();
+DALI_ADAPTOR_API TextDirection GetTextDirection();
} // namespace VirtualKeyboard
#define __DALI_PLATFORM_TEXT_ABSTRACTION_BIDIRECTIONAL_SUPPORT_H__
/*
- * Copyright (c) 2015 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.
// EXTERNAL INCLUDES
#include <dali/public-api/object/base-handle.h>
+// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
+
namespace Dali
{
* BidirectionalSupport API
*
*/
-class DALI_IMPORT_API BidirectionalSupport : public BaseHandle
+class DALI_ADAPTOR_API BidirectionalSupport : public BaseHandle
{
public:
#define DALI_PLATFORM_TEXT_ABSTRACTION_FONT_CLIENT_H
/*
- * Copyright (c) 2017 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.
#include <dali/public-api/object/base-handle.h>
#include <dali/devel-api/text-abstraction/font-list.h>
#include <dali/devel-api/text-abstraction/text-abstraction-definitions.h>
+#include <dali/public-api/dali-adaptor-common.h>
namespace Dali
{
* @endcode
* Glyph metrics and bitmap resources can then be retrieved using the FontId.
*/
-class DALI_IMPORT_API FontClient : public BaseHandle
+class DALI_ADAPTOR_API FontClient : public BaseHandle
{
public:
static const PointSize26Dot6 DEFAULT_POINT_SIZE; ///< The default point size.
/**
* @brief Struct used to retrieve the glyph's bitmap.
*/
- struct GlyphBufferData
+ struct DALI_ADAPTOR_API GlyphBufferData
{
/**
* @brief Constructor.
/*
- * Copyright (c) 2015 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.
namespace TextAbstraction
{
-DALI_IMPORT_API std::ostream& operator<<( std::ostream& o, const FontList& fontList )
+DALI_ADAPTOR_API std::ostream& operator<<( std::ostream& o, const FontList& fontList )
{
for( unsigned int i=0; i<fontList.size(); ++i )
{
#define __DALI_TEXT_ABSTRACTION_FONT_LIST_H__
/*
- * Copyright (c) 2015 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.
#include <iostream>
#include <dali/public-api/common/vector-wrapper.h>
+// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
+
namespace Dali
{
typedef std::vector<FontDescription> FontList;
-DALI_IMPORT_API std::ostream& operator<<( std::ostream& o, const FontList& fontList );
+DALI_ADAPTOR_API std::ostream& operator<<( std::ostream& o, const FontList& fontList );
} // namespace TextAbstraction
#define __DALI_TEXT_ABSTRACTION_FONT_METRICS_H__
/*
- * Copyright (c) 2015 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.
*
*/
-// EXTERNAL INCLUDES
-#include <dali/public-api/common/dali-common.h>
+// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
namespace Dali
{
/**
* The metrics for a Font expressed in pixels.
*/
-struct DALI_IMPORT_API FontMetrics
+struct DALI_ADAPTOR_API FontMetrics
{
/**
* @brief Default constructor.
#define __DALI_TEXT_ABSTRACTION_GLYPH_INFO_H__
/*
- * Copyright (c) 2015 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.
*/
// EXTERNAL INCLUDES
-#include <dali/public-api/common/dali-common.h>
-
-// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
#include <dali/devel-api/text-abstraction/text-abstraction-definitions.h>
namespace Dali
* The information describing a glyph (font ID, index, metrics)
* The metrics are in pixels.
*/
-struct DALI_IMPORT_API GlyphInfo
+struct DALI_ADAPTOR_API GlyphInfo
{
/**
* @brief Default constructor.
#define __DALI_TOOLKIT_TEXT_ABSTRACTION_SCRIPT_H__
/*
- * Copyright (c) 2015 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.
*
*/
-// EXTERNAL INCLUDES
-#include <dali/public-api/common/dali-common.h>
-
// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
#include <dali/devel-api/text-abstraction/text-abstraction-definitions.h>
namespace Dali
*
* @return @e true if the script is right to left.
*/
-DALI_IMPORT_API bool IsRightToLeftScript( Script script );
+DALI_ADAPTOR_API bool IsRightToLeftScript( Script script );
/**
* @brief Retrieves a character's script.
*
* @return The chraracter's script.
*/
-DALI_IMPORT_API Script GetCharacterScript( Character character );
+DALI_ADAPTOR_API Script GetCharacterScript( Character character );
/**
* @brief Whether the character is a white space.
*
* @return @e true if the character is a white space.
*/
-DALI_IMPORT_API bool IsWhiteSpace( Character character );
+DALI_ADAPTOR_API bool IsWhiteSpace( Character character );
/**
* @brief Whether the character is a new paragraph character.
*
* @return @e true if the character is a new paragraph character.
*/
-DALI_IMPORT_API bool IsNewParagraph( Character character );
+DALI_ADAPTOR_API bool IsNewParagraph( Character character );
/**
* @brief Whether the character is a zero width non joiner.
*
* @return @e true if the character is a zero width non joiner.
*/
-DALI_IMPORT_API bool IsZeroWidthNonJoiner( Character character );
+DALI_ADAPTOR_API bool IsZeroWidthNonJoiner( Character character );
/**
* @brief Whether the character is a zero width joiner.
*
* @return @e true if the character is a zero width joiner.
*/
-DALI_IMPORT_API bool IsZeroWidthJoiner( Character character );
+DALI_ADAPTOR_API bool IsZeroWidthJoiner( Character character );
/**
* @brief Whether the character is a zero width space.
*
* @return @e true if the character is a zero width space.
*/
-DALI_IMPORT_API bool IsZeroWidthSpace( Character character );
+DALI_ADAPTOR_API bool IsZeroWidthSpace( Character character );
/**
* @brief Whether the character is a left to right mark.
*
* @return @e true if the character is a left to right mark.
*/
-DALI_IMPORT_API bool IsLeftToRightMark( Character character );
+DALI_ADAPTOR_API bool IsLeftToRightMark( Character character );
/**
* @brief Whether the character is a right to left mark.
*
* @return @e true if the character is a right to left mark.
*/
-DALI_IMPORT_API bool IsRightToLeftMark( Character character );
+DALI_ADAPTOR_API bool IsRightToLeftMark( Character character );
/**
* @brief Whether the character is a thin space.
*
* @return @e true if the character is a thin space.
*/
-DALI_IMPORT_API bool IsThinSpace( Character character );
+DALI_ADAPTOR_API bool IsThinSpace( Character character );
/**
* @brief Whether the character is common within all scripts.
*
* @return @e true if the character is common within all scripts.
*/
-DALI_IMPORT_API bool IsCommonScript( Character character );
+DALI_ADAPTOR_API bool IsCommonScript( Character character );
/**
* @brief Whether the script contains ligatures that must be 'broken' for selection or cursor position.
*
* @return @e true if the script has ligatures that must be 'broken'.
*/
-DALI_IMPORT_API bool HasLigatureMustBreak( Script script );
+DALI_ADAPTOR_API bool HasLigatureMustBreak( Script script );
} // namespace TextAbstraction
} // namespace Dali
#define __DALI_PLATFORM_TEXT_ABSTRACTION_SEGMENTATION_H__
/*
- * Copyright (c) 2015 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.
// INTERNAL INCLUDES
#include <dali/devel-api/text-abstraction/text-abstraction-definitions.h>
+#include <dali/public-api/dali-adaptor-common.h>
// EXTERNAL INCLUDES
#include <dali/public-api/object/base-handle.h>
* Segmentation API
*
*/
-class DALI_IMPORT_API Segmentation : public BaseHandle
+class DALI_ADAPTOR_API Segmentation : public BaseHandle
{
public:
#define __DALI_PLATFORM_TEXT_ABSTRACTION_SHAPING_H__
/*
- * Copyright (c) 2015 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.
* shaping.GetGlyphs( glyphInfo, glyphToCharacterMap );
* @endcode
*/
-class DALI_IMPORT_API Shaping : public BaseHandle
+class DALI_ADAPTOR_API Shaping : public BaseHandle
{
public:
#define __DALI_INTEGRATION_ADAPTOR_H__
/*
- * Copyright (c) 2017 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.
// INTERNAL INCLUDES
#include <dali/public-api/adaptor-framework/window.h>
#include <dali/public-api/adaptor-framework/application-configuration.h>
+#include <dali/public-api/dali-adaptor-common.h>
#ifdef DALI_ADAPTOR_COMPILATION
#include <dali/integration-api/log-factory-interface.h>
*
* @see RenderSurface
*/
-class DALI_IMPORT_API Adaptor
+class DALI_ADAPTOR_API Adaptor
{
public:
#define __DALI_INTEGRATION_NATIVE_RENDER_SURFACE_FACTORY_H__
/*
- * Copyright (c) 2014 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.
// EXTERNAL INCLUDES
#include <string>
-#include <dali/public-api/common/dali-common.h>
+
+// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
// INTERNAL INCLUDES
*
*/
-// EXTERNAL INCLUDES
-#include <dali/public-api/common/dali-common.h>
-
// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
#ifdef DALI_ADAPTOR_COMPILATION
#include <dali/integration-api/egl-interface.h>
#include <dali/integration-api/render-surface.h>
/**
* Native interface of render surface.
*/
-class DALI_IMPORT_API NativeRenderSurface : public Dali::RenderSurface
+class DALI_ADAPTOR_API NativeRenderSurface : public Dali::RenderSurface
{
public:
#define __DALI_RENDER_SURFACE_H__
/*
- * Copyright (c) 2017 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.
// EXTERNAL INCLUDES
#include <dali/public-api/math/rect.h>
#include <dali/public-api/object/any.h>
-#include <dali/public-api/common/dali-common.h>
#include <dali/public-api/common/view-mode.h>
// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
namespace Dali
{
#define __DALI_INTEGRATION_TRIGGER_EVENT_FACTORY_H__
/*
- * Copyright (c) 2014 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.
*/
// INTERNAL INCLUDES
-#include <dali/public-api/common/dali-common.h>
+#include <dali/public-api/dali-adaptor-common.h>
#ifdef DALI_ADAPTOR_COMPILATION
#include <dali/integration-api/trigger-event-factory-interface.h>
#else
* @brief Trigger interface factory class
*
*/
-class DALI_IMPORT_API TriggerEventFactory : public TriggerEventFactoryInterface
+class DALI_ADAPTOR_API TriggerEventFactory : public TriggerEventFactoryInterface
{
public:
#include <dali/internal/adaptor/common/adaptor-impl.h>
// EXTERNAL INCLUDES
-#include <dali/public-api/common/dali-common.h>
#include <dali/public-api/common/stage.h>
#include <dali/public-api/actors/layer.h>
#include <dali/devel-api/actors/actor-devel.h>
#include <dali/integration-api/events/touch-event-integ.h>
// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
#include <dali/internal/system/common/thread-controller.h>
#include <dali/internal/system/common/performance-interface-factory.h>
#include <dali/internal/adaptor/common/lifecycle-observer.h>
#define __DALI_INTERNAL_CLIPBOARD_EVENT_NOTIFIER_H__
/*
- * Copyright (c) 2014 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.
// INTERNAL INCLUDES
#include <dali/devel-api/adaptor-framework/clipboard-event-notifier.h>
+#include <dali/public-api/dali-adaptor-common.h>
namespace Dali
{
/*
- * Copyright (c) 2017 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.
// EXTERNAL INCLUDES
#include <dali/integration-api/debug.h>
-#include <dali/public-api/common/dali-common.h>
+
#include <dali/public-api/common/dali-vector.h>
// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
#include <dali/internal/graphics/gles20/gl-implementation.h>
#include <dali/internal/graphics/gles20/egl-debug.h>
#define __DALI_INTERNAL_ADAPTOR_EGL_SYNC_IMPLEMENTATION_H__
/*
- * Copyright (c) 2014 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.
// EXTERNAL INCLUDES
#include <EGL/egl.h>
#include <EGL/eglext.h>
-#include <dali/public-api/common/dali-common.h>
#include <dali/public-api/common/dali-vector.h>
#include <dali/integration-api/gl-sync-abstraction.h>
+// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
+
namespace Dali
{
namespace Internal
#define __DALI_TIZEN_PLATFORM_ABSTRACTION_H__
/*
- * Copyright (c) 2016 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.
*
*/
-#include <dali/integration-api/platform-abstraction.h>
-#include <dali/public-api/common/dali-common.h>
+// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
+// EXTERNAL INCLUDES
#include <string>
+#include <dali/integration-api/platform-abstraction.h>
namespace Dali
{
#define __DALI_INTERNAL_CALLBACK_MANAGER_H__
/*
- * Copyright (c) 2016 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.
*/
// EXTERNAL INCLUDES
-#include <dali/public-api/common/dali-common.h>
#include <dali/public-api/signals/callback.h>
+// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
+
namespace Dali
{
/*
- * Copyright (c) 2017 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.
// INTERNAL INCLUDES
#include <dali/internal/adaptor/common/adaptor-impl.h>
-
-// EXTERNAL INCLUDES
-#include <dali/public-api/common/dali-common.h>
+#include <dali/public-api/dali-adaptor-common.h>
// Ecore is littered with C style cast
#pragma GCC diagnostic push
#define __DALI_INTERNAL_TIMER_H__
/*
- * Copyright (c) 2017 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.
*/
// EXTERNAL INCLUDES
-#include <dali/public-api/common/dali-common.h>
#include <dali/public-api/object/base-object.h>
// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
#include <dali/internal/system/common/timer-interface.h>
#include <dali/public-api/adaptor-framework/timer.h>
#define __DALI_INTERNAL_TRIGGER_EVENT_H__
/*
- * Copyright (c) 2014 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.
*/
// EXTERNAL INCLUDES
-#include <dali/public-api/common/dali-common.h>
#include <dali/public-api/signals/callback.h>
#include <dali/internal/system/common/file-descriptor-monitor.h>
// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
#include <dali/integration-api/trigger-event-interface.h>
namespace Dali
#define DALI_INTERNAL_CAPTURE_H
/*
- * Copyright (c) 2017 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.
#include <tbm_surface.h>
#include <dali/public-api/object/ref-object.h>
#include <dali/public-api/object/base-object.h>
-#include <dali/public-api/common/dali-common.h>
#include <dali/public-api/render-tasks/render-task.h>
#include <dali/public-api/rendering/texture.h>
#include <dali/public-api/rendering/frame-buffer.h>
// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
#include <native-image-source.h>
#include <timer.h>
#include <capture.h>
namespace Dali
{
-DALI_EXPORT_API NativeRenderSurface* CreateNativeSurface(
+DALI_ADAPTOR_API NativeRenderSurface* CreateNativeSurface(
PositionSize positionSize,
const std::string& name,
bool isTransparent)
// EXTERNAL INCLUDES
#include <tbm_surface.h>
#include <tbm_surface_queue.h>
-#include <dali/public-api/common/dali-common.h>
#include <dali/devel-api/threading/conditional-wait.h>
// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
#include <dali/integration-api/native-render-surface.h>
namespace Dali
// EXTERNAL INCLUDES
#include <Ecore_Wayland.h>
#include <wayland-egl.h>
-#include <dali/public-api/common/dali-common.h>
// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
#include <dali/integration-api/egl-interface.h>
#include <dali/integration-api/thread-synchronization-interface.h>
#include <dali/internal/window-system/common/window-render-surface.h>
#include <dali/internal/graphics/gles20/egl-implementation.h>
#include <dali/internal/window-system/common/pixmap-render-surface.h>
#include <dali/internal/window-system/ubuntu-x11/ecore-x-types.h>
+#include <dali/public-api/dali-adaptor-common.h>
// EXTERNAL INCLUDES
-#include <dali/public-api/common/dali-common.h>
#include <dali/devel-api/threading/conditional-wait.h>
#include <Ecore_X.h>
#define __DALI_APPLICATION_H__
/*
- * Copyright (c) 2015 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.
* When the above options are found, they are stripped from argv, and argc is updated appropriately.
* @SINCE_1_0.0
*/
-class DALI_IMPORT_API Application : public BaseHandle
+class DALI_ADAPTOR_API Application : public BaseHandle
{
public:
*
*/
-// EXTERNAL INCLUDES
-#include <dali/public-api/common/dali-common.h>
+// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
namespace Dali
{
#define __DALI_KEY_GRAB_H__
/*
- * Copyright (c) 2016 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.
*/
// INTERNAL INCLUDES
-#include <dali/public-api/common/dali-common.h>
+#include <dali/public-api/dali-adaptor-common.h>
#include <dali/public-api/common/dali-vector.h>
+
+// EXTERNAL INCLUDES
#include <dali/public-api/adaptor-framework/key.h>
namespace Dali
* @param[in] daliKey The key code to grab (defined in key.h)
* @return true if the grab succeeds
*/
-DALI_IMPORT_API bool GrabKeyTopmost( Window window, Dali::KEY daliKey );
+DALI_ADAPTOR_API bool GrabKeyTopmost( Window window, Dali::KEY daliKey );
/**
* @brief Ungrabs the key specified by @a key for @a window.
* @note If this function is called between key down and up events of a grabbed key,
* an application doesn't receive the key up event.
*/
-DALI_IMPORT_API bool UngrabKeyTopmost( Window window, Dali::KEY daliKey );
+DALI_ADAPTOR_API bool UngrabKeyTopmost( Window window, Dali::KEY daliKey );
/**
* @brief Enumeration for key grab mode for platform-level APIs.
* @param[in] grabMode The grab mode for the key
* @return true if the grab succeeds
*/
-DALI_IMPORT_API bool GrabKey( Window window, Dali::KEY daliKey, KeyGrabMode grabMode );
+DALI_ADAPTOR_API bool GrabKey( Window window, Dali::KEY daliKey, KeyGrabMode grabMode );
/**
* @PLATFORM
* @note If this function is called between key down and up events of a grabbed key,
* an application doesn't receive the key up event.
*/
-DALI_IMPORT_API bool UngrabKey( Window window, Dali::KEY daliKey );
+DALI_ADAPTOR_API bool UngrabKey( Window window, Dali::KEY daliKey );
/**
* @param[in] returnVector The Dali::Vector of return boolean values for the results of multiple grab succeeds/fails
* @return bool false when error occurs
*/
-DALI_IMPORT_API bool GrabKeyList( Window window, const Dali::Vector<Dali::KEY>& daliKeyVector, const Dali::Vector<KeyGrabMode>& grabModeVector, Dali::Vector<bool>& returnVector);
+DALI_ADAPTOR_API bool GrabKeyList( Window window, const Dali::Vector<Dali::KEY>& daliKeyVector, const Dali::Vector<KeyGrabMode>& grabModeVector, Dali::Vector<bool>& returnVector);
/**
* @note If this function is called between key down and up events of a grabbed key,
* an application doesn't receive the key up event.
*/
-DALI_IMPORT_API bool UngrabKeyList( Window window, const Dali::Vector<Dali::KEY>& daliKeyVector, Dali::Vector<bool>& returnVector);
+DALI_ADAPTOR_API bool UngrabKeyList( Window window, const Dali::Vector<Dali::KEY>& daliKeyVector, Dali::Vector<bool>& returnVector);
} // namespace KeyGrab
#define __DALI_KEY_H__
/*
- * Copyright (c) 2015 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.
*/
// EXTERNAL INCLUDES
-
#include <dali/public-api/events/key-event.h>
+// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
+
namespace Dali
{
/**
* @param daliKey Dali key enum
* @return @c true if the key is matched, @c false if not
*/
-DALI_IMPORT_API bool IsKey( const Dali::KeyEvent& keyEvent, Dali::KEY daliKey);
+DALI_ADAPTOR_API bool IsKey( const Dali::KeyEvent& keyEvent, Dali::KEY daliKey);
/**
* @}
#define __DALI_NATIVE_IMAGE_SOURCE_H__
/*
- * Copyright (c) 2015 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.
#include <dali/public-api/images/pixel.h>
#include <dali/public-api/object/any.h>
+// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
+
namespace Dali
{
/**
* @SINCE_1_1.4
* @see NativeImage
*/
-class DALI_IMPORT_API NativeImageSource : public NativeImageInterface
+class DALI_ADAPTOR_API NativeImageSource : public NativeImageInterface
{
public:
#define __DALI_STYLE_CHANGE_H__
/*
- * Copyright (c) 2015 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.
// EXTERNAL INCLUDES
#include <string>
-#include <dali/public-api/common/dali-common.h>
+
+// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
namespace Dali
{
/*
- * Copyright (c) 2015 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.
// CLASS HEADER
#include <dali/public-api/adaptor-framework/timer.h>
-// EXTERNAL INCLUDES
-#include <dali/public-api/common/dali-common.h>
-
// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
#include <dali/internal/system/common/timer-impl.h>
namespace Dali
#define __DALI_TIMER_H__
/*
- * Copyright (c) 2015 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.
#include <dali/public-api/object/base-handle.h>
#include <dali/public-api/signals/dali-signal.h>
+// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
+
namespace Dali
{
/**
* as a member.
* @SINCE_1_0.0
*/
-class DALI_IMPORT_API Timer : public BaseHandle
+class DALI_ADAPTOR_API Timer : public BaseHandle
{
public: // Signal typedefs
#define __DALI_TTS_PLAYER_H__
/*
- * Copyright (c) 2015 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.
#include <dali/public-api/object/base-handle.h>
#include <dali/public-api/signals/dali-signal.h>
+// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
+
namespace Dali
{
/**
* @brief The Text-to-speech (TTS) Player.
* @SINCE_1_0.0
*/
-class DALI_IMPORT_API TtsPlayer : public BaseHandle
+class DALI_ADAPTOR_API TtsPlayer : public BaseHandle
{
public: // ENUMs
#define DALI_WIDGET_APPLICATION_H
/*
- * Copyright (c) 2017 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.
*
* @SINCE_1_3_5
*/
-class DALI_IMPORT_API WidgetApplication : public Application
+class DALI_ADAPTOR_API WidgetApplication : public Application
{
public:
#define DALI_INTERNAL_WIDGET_H
/*
- * Copyright (c) 2017 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.
*
* @SINCE_1_3_5
*/
-class DALI_IMPORT_API Widget : public BaseObject, public ConnectionTrackerInterface
+class DALI_ADAPTOR_API Widget : public BaseObject, public ConnectionTrackerInterface
{
public:
* @return Implementation
* @pre handle is initialized and points to a widget
*/
-DALI_IMPORT_API Internal::Adaptor::Widget& GetImplementation( Dali::Widget& widget );
+DALI_ADAPTOR_API Internal::Adaptor::Widget& GetImplementation( Dali::Widget& widget );
/**
* @brief Gets implementation from the handle.
* @return Implementation
* @pre Handle is initialized and points to a widget.
*/
-DALI_IMPORT_API const Internal::Adaptor::Widget& GetImplementation( const Dali::Widget& widget );
+DALI_ADAPTOR_API const Internal::Adaptor::Widget& GetImplementation( const Dali::Widget& widget );
} // namespace Adaptor
#define DALI_WIDGET_H
/*
- * Copyright (c) 2017 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.
// EXTERNAL INCLUDES
#include <dali/public-api/object/base-handle.h>
+// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
+
namespace Dali
{
*
* @SINCE_1_3_5
*/
-class DALI_IMPORT_API Widget : public BaseHandle
+class DALI_ADAPTOR_API Widget : public BaseHandle
{
public:
#define __DALI_WINDOW_H__
/*
- * Copyright (c) 2017 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.
#include <dali/public-api/object/any.h>
#include <dali/public-api/signals/dali-signal.h>
+// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
+
namespace Dali
{
/**
* You can get a valid Window handle by calling Dali::Application::GetWindow().
* @SINCE_1_0.0
*/
-class DALI_IMPORT_API Window : public BaseHandle
+class DALI_ADAPTOR_API Window : public BaseHandle
{
public:
#define DALI_CAPTURE_H
/*
- * Copyright (c) 2017 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.
#include <dali/public-api/signals/dali-signal.h>
#include <dali/public-api/actors/camera-actor.h>
-// INTERNAL HEADERS
+// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
namespace Dali
{
* }
* @endcode
*/
-class DALI_IMPORT_API Capture : public BaseHandle
+class DALI_ADAPTOR_API Capture : public BaseHandle
{
public:
--- /dev/null
+#ifndef DALI_ADAPTOR_COMMON_H
+#define DALI_ADAPTOR_COMMON_H
+
+/*
+ * 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.
+ * 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 <dali/public-api/common/dali-common.h>
+
+/*
+ * Definitions for shared library support.
+ *
+ * If a library is configured with --enable-exportall or --enable-debug
+ * then HIDE_DALI_INTERNALS is not defined, and nothing is hidden.
+ * If it is configured without these options (the default), then HIDE_INTERNALS
+ * is defined when building the library, visibility is automatically hidden, and the explicit
+ * defines below come into use.
+ * When building a library that uses DALI, HIDE_DALI_INTERNALS.
+ */
+#if __GNUC__ >= 4
+# ifndef HIDE_DALI_INTERNALS
+# define DALI_ADAPTOR_API
+# else
+# define DALI_ADAPTOR_API __attribute__ ((visibility ("default")))
+# endif
+#else
+/** Visibility attribute to show declarations */
+# define DALI_ADAPTOR_API
+#endif
+
+#endif // DALI_ADAPTOR_COMMON_H
#define __DALI_ADAPTOR_VERSION_H__
/*
- * Copyright (c) 2015 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.
*
*/
-// EXTERNAL INCLUDES
-#include <dali/public-api/common/dali-common.h>
+// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
namespace Dali
{
-DALI_IMPORT_API extern const unsigned int ADAPTOR_MAJOR_VERSION; ///< The major version number of the Adaptor.
-DALI_IMPORT_API extern const unsigned int ADAPTOR_MINOR_VERSION; ///< The minor version number of the Adaptor.
-DALI_IMPORT_API extern const unsigned int ADAPTOR_MICRO_VERSION; ///< The micro version number of the Adaptor.
-DALI_IMPORT_API extern const char * const ADAPTOR_BUILD_DATE; ///< The date/time the Adaptor library was built.
+DALI_ADAPTOR_API extern const unsigned int ADAPTOR_MAJOR_VERSION; ///< The major version number of the Adaptor.
+DALI_ADAPTOR_API extern const unsigned int ADAPTOR_MINOR_VERSION; ///< The minor version number of the Adaptor.
+DALI_ADAPTOR_API extern const unsigned int ADAPTOR_MICRO_VERSION; ///< The micro version number of the Adaptor.
+DALI_ADAPTOR_API extern const char * const ADAPTOR_BUILD_DATE; ///< The date/time the Adaptor library was built.
} // namespace Dali
#endif // __DALI_ADAPTOR_VERSION_H__
public_api_header_files = \
- $(adaptor_public_api_dir)/dali-adaptor-version.h
+ $(adaptor_public_api_dir)/dali-adaptor-version.h \
+ $(adaptor_public_api_dir)/dali-adaptor-common.h
public_api_adaptor_framework_header_files = \
#define __DALI_WATCH_APPLICATION_H__
/*
- * Copyright (c) 2016 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.
#include <dali/public-api/signals/callback.h>
// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
#include <dali/public-api/adaptor-framework/application.h>
#include <dali/public-api/watch/watch-time.h>
* WatchApplication& mApplication;
* };
*
- * int DALI_EXPORT_API main (int argc, char **argv)
+ * int DALI_ADAPTOR_API main (int argc, char **argv)
* {
* WatchApplication app = WatchApplication::New(&argc, &argv);
* ExampleController example( app );
* @SINCE_1_1.37
*/
-class DALI_IMPORT_API WatchApplication : public Application
+class DALI_ADAPTOR_API WatchApplication : public Application
{
public:
typedef Signal< void (Application&, const WatchTime&) > WatchTimeSignal; ///< Watch pointer signal callback type @SINCE_1_1.37
#define __DALI_WATCH_TIME_H__
/*
- * Copyright (c) 2016 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.
// EXTERNAL INCLUDES
#include <time.h>
+#include <dali/public-api/dali-core.h>
// INTERNAL INCLUDES
-#include <dali/public-api/dali-core.h>
+#include <dali/public-api/dali-adaptor-common.h>
namespace Dali
{
* on receiving timeTick signal.
* @SINCE_1_1.37
*/
-class DALI_IMPORT_API WatchTime
+class DALI_ADAPTOR_API WatchTime
{
public:
/*
- * Copyright (c) 2014 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.
using namespace Dali;
// The plugin factories
-extern "C" DALI_EXPORT_API Dali::FeedbackPlugin* CreateFeedbackPlugin(void)
+extern "C" DALI_ADAPTOR_API Dali::FeedbackPlugin* CreateFeedbackPlugin(void)
{
return new Dali::Plugin::DaliFeedback;
}