Add Extension to control-impl.h 94/39494/2
authorNick Holland <nick.holland@partner.samsung.com>
Fri, 15 May 2015 16:07:06 +0000 (17:07 +0100)
committerNick Holland <nick.holland@partner.samsung.com>
Wed, 20 May 2015 14:53:06 +0000 (15:53 +0100)
Change-Id: I152a0e91092461fa836382c2c72a6533c34e781d

dali-toolkit/public-api/controls/control-impl.h

index 249fed5..5363c25 100644 (file)
@@ -57,6 +57,8 @@ class DALI_IMPORT_API Control : public CustomActorImpl, public ConnectionTracker
 {
 public:
 
+  class Extension; ///< Forward declare future extension interface
+
   // Creation & Destruction
 
   /**
@@ -622,6 +624,16 @@ private:
    */
   virtual void SignalDisconnected( SlotObserver* slotObserver, CallbackBase* callback );
 
+  /**
+   * Retrieve the extension for this control
+   *
+   * @return The extension if available, NULL otherwise
+   */
+  virtual Extension* GetExtension()
+  {
+    return NULL;
+  }
+
 private:
 
   // Undefined