[4.0] add getter/setter for ignoreGlobalFontSizeChanged
[platform/core/uifw/dali-adaptor.git] / adaptors / devel-api / adaptor-framework / style-monitor.h
index 5ca8b6b..692fe73 100644 (file)
@@ -54,7 +54,7 @@ class DALI_IMPORT_API StyleMonitor : public BaseHandle
 {
 public: // Typedefs
 
-  typedef Signal< void (StyleMonitor, StyleChange) > StyleChangeSignalType;   ///< StyleChange Signal type
+  typedef Signal< void ( StyleMonitor, StyleChange::Type ) > StyleChangeSignalType;   ///< StyleChange Signal type
 
 public: // Creation & Destruction
 
@@ -134,6 +134,26 @@ public: // Style Information
    */
   void SetTheme(const std::string& themeFilePath);
 
+  /**
+   * @brief Utility to load a theme file
+   * @param filename of the theme
+   * @param output to write the contents to
+   * @return true if the load is successful
+   */
+  bool LoadThemeFile( const std::string& filename, std::string& output );
+
+  /**
+   * Return the value of mIgnoreGlobalFontSizeChange.
+   * @return Return mIgnoreGlobalFontSizeChange.
+   */
+  int GetIgnoreGlobalFontSizeChange();
+
+  /**
+   * Informs the Style Monitor that the style has changed.
+   * @param[in]  value The value of mIgnoreGlobalFontSizeChange.
+   */
+  void SetIgnoreGlobalFontSizeChange(int value);
+
 public: // Signals
 
   /**