From cc4c921f415f575bd27e1292f3139c379bb73b52 Mon Sep 17 00:00:00 2001 From: Nick Holland Date: Fri, 15 May 2015 17:08:18 +0100 Subject: [PATCH] Add extension to PropertyInput Change-Id: Id4b533d23b8471f7687035bfc2a97fe9ef1535ee --- dali/public-api/object/property-input.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/dali/public-api/object/property-input.h b/dali/public-api/object/property-input.h index 6b2197242..24ac833c9 100644 --- a/dali/public-api/object/property-input.h +++ b/dali/public-api/object/property-input.h @@ -38,6 +38,8 @@ class DALI_IMPORT_API PropertyInput { public: + class Extension; ///< Forward declare future extension interface + /** * @brief Virtual destructor. */ @@ -129,6 +131,16 @@ public: * @return The Quaternion value. */ virtual const Quaternion& GetQuaternion() const = 0; + + /** + * Retrieve the extension for the PropertyInput + * + * @return The extension if available, NULL otherwise + */ + virtual Extension* GetExtension() + { + return NULL; + } }; } // namespace Dali -- 2.34.1