videocollection/videocollectionwrapper/tsrc/testvideothumbnaildata_p/stub/inc/videocollectionwrapper.h
changeset 34 bbb98528c666
parent 30 4f111d64a341
child 36 8aed59de29f9
--- a/videocollection/videocollectionwrapper/tsrc/testvideothumbnaildata_p/stub/inc/videocollectionwrapper.h	Thu Apr 01 23:13:36 2010 +0300
+++ b/videocollection/videocollectionwrapper/tsrc/testvideothumbnaildata_p/stub/inc/videocollectionwrapper.h	Thu Apr 01 23:22:15 2010 +0300
@@ -35,6 +35,14 @@
     Q_OBJECT
 
 public: // Constructor
+
+    enum TModelType
+    {
+        EAllVideos,
+        ECollections,
+        ECollectionContent,
+        EGeneric
+    };    
     
     /**
      * Returns singleton instance for this class.
@@ -43,20 +51,14 @@
      * 
      * @return The singleton instance.
      */
-    static VideoCollectionWrapper *instance();
-
-    /**
-     * Decreases the reference count, when count reaches zero cleanup is done.
-     * 
-     */
-    void decreaseReferenceCount();    
+    static VideoCollectionWrapper &instance();
 
 	/**
      * Returns pointer to model
      *
      * @return address to model or NULL if fails.
      */
-    VideoSortFilterProxyModel* getModel();
+    VideoSortFilterProxyModel* getModel(TModelType type);
 
 /* Additional functions needed for testing purposes */