{
public:
- virtual ~PlatformAbstraction() {}
-
- // Dali Lifecycle
-
/**
- * Get the monotonic time since an unspecified reference point.
- * This is used by Dali to calculate time intervals during animations; the interval is
- * recalculated when Dali is resumed with Dali::Integration::Core::Resume().
- * Multi-threading note: this method may be called from either the main or rendering thread.
- * @param[out] seconds The time in seconds since the reference point.
- * @param[out] microSeconds The remainder in microseconds.
+ * Virtual destructor.
*/
- virtual void GetTimeMicroseconds(unsigned int& seconds, unsigned int& microSeconds) = 0;
+ virtual ~PlatformAbstraction() {}
+
+ // DALi Lifecycle
/**
* Tell the platform abstraction that Dali is ready to pause, such as when the
// Font Queries
/**
- * Called by Dali to retrieve the default font family & style for the platform.
- * Multi-threading note: this method will be called from the main thread only i.e. not
- * from within the Core::Render() method.
- * @param[out] The default font family.
- * @param[out] The default font style.
- */
- virtual void GetDefaultFontDescription( std::string& family, std::string& style ) const = 0;
-
- /**
* Called by Dali to retrieve the default font size for the platform.
* This is an accessibility size, which is mapped to a UI Control specific point-size in stylesheets.
* For example if zero the smallest size, this could potentially map to TextLabel point-size 8.