homescreenapp/hsdomainmodel/inc/hsdatabase.h
changeset 46 23b5d6a29cce
parent 36 cdae8c6c3876
child 51 4785f57bf3d4
--- a/homescreenapp/hsdomainmodel/inc/hsdatabase.h	Mon May 03 12:24:59 2010 +0300
+++ b/homescreenapp/hsdomainmodel/inc/hsdatabase.h	Fri May 14 15:43:04 2010 +0300
@@ -75,7 +75,9 @@
     bool widgetPreferences(int widgetId, QVariantHash &data);
     bool widgetPreference(int widgetId, const QString &key, QVariant &value);
     bool setWidgetPreferences(int widgetId, const QVariantHash &data);
-            
+    
+    void setDataBaseBlocked(bool blocked);
+    bool getDataBaseBlocked();
 public:
     static void setInstance(HsDatabase *instance);
     static HsDatabase *instance();
@@ -90,6 +92,7 @@
     QString mDatabaseName;
 
     static QScopedPointer<HsDatabase> mInstance;
+    bool mBlocked;
 };
 
 #endif // HSDATABASE_H