inc/unidatamodelplugininterface.h
branchGCC_SURGE
changeset 47 5b14749788d7
parent 25 84d9eb65b26f
parent 43 35b64624a9e7
--- a/inc/unidatamodelplugininterface.h	Thu Jun 17 09:57:06 2010 +0100
+++ b/inc/unidatamodelplugininterface.h	Thu Jul 22 16:32:06 2010 +0100
@@ -84,6 +84,30 @@
     inline const QString& mimetype();
 
     /**
+     * isProtected
+     * @return true if DRM protected object else false.
+     */
+    inline bool isProtected() const;
+
+    /**
+     * setProtected
+     * @param isProtected true if DRM protected object else false.
+     */
+    inline void setProtected(bool isProtected);
+
+    /**
+     * isCorrupted
+     * @return true if object is corrupted else false.
+     */
+    inline bool isCorrupted() const;
+
+    /**
+     * setCorrupted
+     * @param corrupted true if object is corrupted else false.
+     */
+    inline void setCorrupted(bool corrupted);
+
+    /**
      * Serialize the data memebers into the stream.
      * @param stream data stream to which data is serialized.
      */
@@ -97,8 +121,10 @@
 
 private:
     QString mPath;
+    QString mMimeType;
     int mSize;
-    QString mMimeType;
+    bool mProtected;
+    bool mCorrupt;
 
 };