X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fintegration-api%2Fbitmap.h;h=1e1b9bcc3abbfd100a480806af57c52cd4cbde8d;hb=418d4f93f7158ef267ab389106f831033671c880;hp=01b3b4cd02b287164b888122b43c88fbe2345317;hpb=5fab3d3bc329a7a19ec9cf1cac82031ca97af72d;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/integration-api/bitmap.h b/dali/integration-api/bitmap.h index 01b3b4c..1e1b9bc 100644 --- a/dali/integration-api/bitmap.h +++ b/dali/integration-api/bitmap.h @@ -267,6 +267,13 @@ public: * This property can then be tested for with IsFullyOpaque(). */ virtual void TestForTransparency() = 0; + + protected: + + /** + * Virtual destructor, no deletion through this interface + */ + virtual ~PackedPixelsProfile() {} }; /** @@ -304,6 +311,12 @@ public: const unsigned width, const unsigned height, const size_t numBytes ) = 0; + protected: + + /** + * Virtual destructor, no deletion through this interface + */ + virtual ~CompressedProfile() {} }; virtual const CompressedProfile* GetCompressedProfile() const { return 0; } @@ -331,6 +344,8 @@ public: */ void DeletePixelBuffer(); +protected: + /** * A reference counted object may only be deleted by calling Unreference() */