Removed model loading and lighting
[platform/core/uifw/dali-core.git] / dali / integration-api / resource-types.h
index 7cd3766..19c1703 100644 (file)
 
 // EXTERNAL INCLUDES
 #include <stdint.h>
+#include <string>
 
 // INTERNAL INCLUDES
+#include <dali/public-api/common/dali-common.h>
 #include <dali/public-api/common/vector-wrapper.h>
 #include <dali/public-api/images/image-attributes.h>
 #include <dali/integration-api/resource-declarations.h>
@@ -43,7 +45,6 @@ enum ResourceTypeId
   ResourceNativeImage,
   ResourceTargetImage,
   ResourceShader,
-  ResourceModel,
   ResourceMesh,
   ResourceText
 };
@@ -51,7 +52,7 @@ enum ResourceTypeId
 /**
  * The abstract base class for resource types.
  */
-struct DALI_IMPORT_API ResourceType
+struct ResourceType
 {
   /**
    * Constructor.
@@ -86,7 +87,7 @@ private:
  * BitmapResourceType describes a bitmap resource, which can be requested
  * from ResourceLoader::LoadResource() or AllocateBitmapImage.
  */
-struct DALI_IMPORT_API BitmapResourceType : public ResourceType
+struct BitmapResourceType : public ResourceType
 {
   /**
    * Constructor.
@@ -128,7 +129,7 @@ private:
  * through ResourceManager::AddNativeImage() or requested through ResourceLoader::LoadResource().
  * If the adaptor does not support NativeImages, it can fall back to Bitmap type.
  */
-struct DALI_IMPORT_API NativeImageResourceType : public ResourceType
+struct NativeImageResourceType : public ResourceType
 {
   /**
    * Constructor.
@@ -175,7 +176,7 @@ private:
  * RenderTargetResourceType describes a bitmap resource, which can injected
  * through ResourceManager::AddTargetImage()
  */
-struct DALI_IMPORT_API RenderTargetResourceType : public ResourceType
+struct RenderTargetResourceType : public ResourceType
 {
   /**
    * Constructor.
@@ -222,7 +223,7 @@ private:
  * ShaderResourceType describes a shader program resource, which can be requested
  * from PlatformAbstraction::LoadResource()
  */
-struct DALI_IMPORT_API ShaderResourceType : public ResourceType
+struct ShaderResourceType : public ResourceType
 {
   /**
    * Constructor.
@@ -268,7 +269,7 @@ private:
  * TextResourceType describes a font resource, which can be requested.
  * from PlatformAbstraction::LoadResource()  No font atlas is created.
  */
-struct DALI_IMPORT_API TextResourceType : public ResourceType
+struct TextResourceType : public ResourceType
 {
   /**
    *  Text quality enum
@@ -403,50 +404,12 @@ private:
   TextResourceType& operator=(const TextResourceType& rhs);
 };
 
-/**
- * ModelResourceType describes a model resource, which can be requested
- * from PlatformAbstraction::LoadResource()
- */
-struct DALI_IMPORT_API ModelResourceType : public ResourceType
-{
-  /**
-   * Constructor.
-   */
-  ModelResourceType()
-    : ResourceType(ResourceModel)
-  {
-  }
-
-  /**
-   * Destructor.
-   */
-  virtual ~ModelResourceType()
-  {
-  }
-
-  /**
-   * @copydoc ResourceType::Clone
-   */
-  virtual ResourceType* Clone() const
-  {
-    return new ModelResourceType();
-  }
-
-private:
-
-  // Undefined copy constructor.
-  ModelResourceType(const ModelResourceType& typePath);
-
-  // Undefined assignment operator.
-  ModelResourceType& operator=(const ModelResourceType& rhs);
-};
-
 
 /**
  * MeshResourceType describes a mesh program resource, which can be created
  * using ResourceManager::AllocateMesh.
  */
-struct DALI_IMPORT_API MeshResourceType : public ResourceType
+struct MeshResourceType : public ResourceType
 {
   /**
    * Constructor.
@@ -486,4 +449,3 @@ inline bool operator==(const TextResourceType::GlyphPosition& lhs, const TextRes
 } // namespace Dali
 
 #endif // __DALI_INTEGRATION_RESOURCE_TYPES_H__
-