[dali_2.3.24] Merge branch 'devel/master'
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / text / rendering / vector-based / vector-blob-atlas-share.h
index a854089..822ea3d 100644 (file)
@@ -1,8 +1,8 @@
-#ifndef __DALI_TOOLKIT_VECTOR_BLOB_ATLAS_SHARE_H__
-#define __DALI_TOOLKIT_VECTOR_BLOB_ATLAS_SHARE_H__
+#ifndef DALI_TOOLKIT_VECTOR_BLOB_ATLAS_SHARE_H
+#define DALI_TOOLKIT_VECTOR_BLOB_ATLAS_SHARE_H
 
 /*
- * Copyright (c) 2016 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2022 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
 {
-
 namespace Toolkit
 {
-
 namespace Text
 {
-
 /**
  * @brief A singleton for sharing atlases containing vector data
  *
@@ -37,7 +34,6 @@ namespace Text
 class VectorBlobAtlasShare : public BaseHandle
 {
 public:
-
   /**
    * @brief Create a VectorBlobAtlasShare handle.
    *
@@ -74,12 +70,17 @@ public:
    */
   VectorBlobAtlas* GetNewAtlas();
 
-private:
+public:
+  // Default copy and move operator
+  VectorBlobAtlasShare(const VectorBlobAtlasShare& rhs) = default;
+  VectorBlobAtlasShare(VectorBlobAtlasShare&& rhs)      = default;
+  VectorBlobAtlasShare& operator=(const VectorBlobAtlasShare& rhs) = default;
+  VectorBlobAtlasShare& operator=(VectorBlobAtlasShare&& rhs) = default;
 
+private:
   class Impl;
 
-  explicit DALI_INTERNAL VectorBlobAtlasShare( VectorBlobAtlasShare::Impl* impl );
-
+  explicit DALI_INTERNAL VectorBlobAtlasShare(VectorBlobAtlasShare::Impl* impl);
 };
 
 } // namespace Text
@@ -88,4 +89,4 @@ private:
 
 } // namespace Dali
 
-#endif // __DALI_TOOLKIT_VECTOR_BLOB_ATLAS_SHARE_H__
+#endif // DALI_TOOLKIT_VECTOR_BLOB_ATLAS_SHARE_H