- Change API name before ACR for the API.
Change-Id: I5aa6310ff1e3e91def89983f5cf1807085ae847d
return mImpl->EncodeToFile(filename);
}
-void NativeImageSource::SetNativeImageSource( Any nativeImageSource )
+void NativeImageSource::SetSource( Any source )
{
- mImpl->SetNativeImageSource( nativeImageSource );
+ mImpl->SetSource( source );
}
bool NativeImageSource::GlExtensionCreate()
bool EncodeToFile(const std::string& filename) const;
/**
- * @brief Set an existing native image source
+ * @brief Set an existing source
*
* @SINCE_1_1.19
- * @param[in] source Any handle with native image source
+ * @param[in] source Any handle with the source
*/
- void SetNativeImageSource( Any source );
+ void SetSource( Any source );
private: // native image
return false;
}
-void NativeImageSource::SetNativeImageSource( Any nativeImageSource )
+void NativeImageSource::SetSource( Any source )
{
if( mOwnTbmsurface && mTbmsurface != NULL )
{
mTbmsurface = NULL;
}
- mTbmsurface = GetSurfaceFromAny( nativeImageSource );
+ mTbmsurface = GetSurfaceFromAny( source );
mOwnTbmsurface = false;
if( mTbmsurface != NULL )
bool EncodeToFile(const std::string& filename) const;
/**
- * @copydoc Dali::NativeImageSource::SetNativeImageSource( Any nativeImageSource )
+ * @copydoc Dali::NativeImageSource::SetSource( Any source )
*/
- void SetNativeImageSource( Any nativeImageSource );
+ void SetSource( Any source );
/**
* destructor
return false;
}
-void NativeImageSource::SetNativeImageSource( Any nativeImageSource )
+void NativeImageSource::SetSource( Any source )
{
- mPixmap = GetPixmapFromAny( nativeImageSource );
+ mPixmap = GetPixmapFromAny( source );
if (mPixmap)
{
bool EncodeToFile(const std::string& filename) const;
/**
- * @copydoc Dali::NativeImageSource::SetNativeImageSource( Any nativeImageSource )
+ * @copydoc Dali::NativeImageSource::SetSource( Any source )
*/
- void SetNativeImageSource( Any nativeImageSource );
+ void SetSource( Any source );
/**
* destructor