catch( DaliException& e )
{
exception = e.condition;
- DALI_TEST_EQUALS( exception, "handle && \"BaseObject handle is empty\"", NULL );
+ DALI_TEST_EQUALS( exception, "handle && \"BaseObject handle is empty\"", TEST_LOCATION );
}
END_TEST;
}
+
+
+int UtcDaliCustomActorGetExtensionP(void)
+{
+ TestApplication application;
+
+ TestCustomActor custom = TestCustomActor::NewVariant5();
+
+ DALI_TEST_CHECK( NULL == custom.GetImplementation().GetExtension() );
+
+ END_TEST;
+}
{
public:
+ class Extension; ///< Forward declare future extension interface
+
/**
* @brief Virtual destructor.
*/
* @param[in] index The Property index that was set.
* @param[in] propertyValue The value to set.
*/
- virtual void OnPropertySet( Property::Index index, Property::Value propertyValue ) ;
+ virtual void OnPropertySet( Property::Index index, Property::Value propertyValue );
/**
* @brief Called when the owning actor's size is set e.g. using Actor::SetSize().
*/
virtual void OnLayoutNegotiated( float size, Dimension::Type dimension ) = 0;
+ /**
+ * Retrieve the extension for this control
+ *
+ * @return The extension if available, NULL otherwise
+ */
+ virtual Extension* GetExtension()
+ {
+ return NULL;
+ }
+
protected: // For derived classes
// Flags for the constructor