[Tizen]Add KeyEventGeneratedSignal for Get KeyEvent normally
[platform/core/uifw/dali-core.git] / dali / internal / common / image-attributes.h
index 33aa75b..34e05a9 100644 (file)
@@ -1,8 +1,8 @@
-#ifndef __DALI_INTERNAL_IMAGE_ATTRIBUTES_H__
-#define __DALI_INTERNAL_IMAGE_ATTRIBUTES_H__
+#ifndef DALI_INTERNAL_IMAGE_ATTRIBUTES_H
+#define DALI_INTERNAL_IMAGE_ATTRIBUTES_H
 
 /*
- * Copyright (c) 2014 Samsung Electronics Co., Ltd.
+ * 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.
@@ -67,7 +67,7 @@ namespace Internal
  *
  * @note The aspect ratio of image contents is preserved by all scaling modes, so for example squares in input images stay square after loading.
  */
-class DALI_IMPORT_API ImageAttributes
+class ImageAttributes
 {
 public:
 
@@ -128,15 +128,6 @@ public:
   static ImageAttributes New();
 
   /**
-   * @brief Create an initialised image attributes object.
-   *
-   * @param [in] width         desired width.
-   * @param [in] height        desired height
-   * @return A handle to a newly allocated object
-   */
-   static ImageAttributes New(unsigned int width, unsigned int height);
-
-  /**
    * @brief Set the size properties.
    *
    * By default width and height are set to zero which means the image loaded has the original size.
@@ -146,7 +137,7 @@ public:
    * @param [in] width  desired width.
    * @param [in] height desired height
    */
-  void SetSize(unsigned int width, unsigned int height);
+  void SetSize( uint32_t width, uint32_t height);
 
   /**
    * @brief Set the image dimension properties.
@@ -286,7 +277,7 @@ private:
  * @param [in] b parameter tested
  * @return true if a is less than b
  */
-DALI_IMPORT_API bool operator<(const ImageAttributes& a, const ImageAttributes& b);
+bool operator<(const ImageAttributes& a, const ImageAttributes& b);
 
 /**
  * @brief Equal to comparison operator.
@@ -295,7 +286,7 @@ DALI_IMPORT_API bool operator<(const ImageAttributes& a, const ImageAttributes&
  * @param [in] b parameter tested for equality
  * @return true if a is equal to b
  */
-DALI_IMPORT_API bool operator==(const ImageAttributes& a, const ImageAttributes& b);
+bool operator==(const ImageAttributes& a, const ImageAttributes& b);
 
 /**
  * @brief Not equal to comparison operator.
@@ -304,9 +295,9 @@ DALI_IMPORT_API bool operator==(const ImageAttributes& a, const ImageAttributes&
  * @param [in] b parameter tested for equality
  * @return true if a is not equal to b
  */
-DALI_IMPORT_API bool operator!=(const ImageAttributes& a, const ImageAttributes& b);
+bool operator!=(const ImageAttributes& a, const ImageAttributes& b);
 
 } // namespace Internal
 } // namespace Dali
 
-#endif // __DALI_INTERNAL_IMAGE_ATTRIBUTES_H__
+#endif // DALI_INTERNAL_IMAGE_ATTRIBUTES_H