add method _BitmapImpl::GetFileName()
authorSungyeon Woo <s.woo@samsung.com>
Mon, 18 Mar 2013 08:58:01 +0000 (17:58 +0900)
committerSungyeon Woo <s.woo@samsung.com>
Mon, 18 Mar 2013 08:58:01 +0000 (17:58 +0900)
Change-Id: Ie36b106ecc075b414d4d9dcc65fa8951d592ef94
Signed-off-by: Sungyeon Woo <s.woo@samsung.com>
src/graphics/FGrp_BitmapImpl.cpp [changed mode: 0755->0644]
src/graphics/inc/FGrp_BitmapImpl.h [changed mode: 0755->0644]

old mode 100755 (executable)
new mode 100644 (file)
index dca71e9..08cdd85
@@ -323,6 +323,12 @@ _BitmapImpl::IsConstructed(void) const
        return (this->_sharedItem.get() && (this->_sharedItem->nativeBitmap->IsValid() || !this->_sharedItem->associated.fileName.IsEmpty()));
 }
 
+Tizen::Base::String
+_BitmapImpl::GetFileName(void) const
+{
+       return (this->_sharedItem.get()) ? this->_sharedItem->associated.fileName : String();
+}
+
 result
 _BitmapImpl::Construct(const Rectangle& vc_rect)
 {
old mode 100755 (executable)
new mode 100644 (file)
index daebcd6..b4a0bde
@@ -74,7 +74,8 @@ public:
        result Construct(const _BitmapImpl& bitmap, const FloatRectangle& rect);
 
        bool IsConstructed(void) const;
-       const Tizen::Base::String& GetFileName(void) const;
+
+       Tizen::Base::String GetFileName(void) const;
 
        result Scale(const Dimension& dim);
        result Scale(const FloatDimension& dim);