diff -r 84197e66a4bd -r 35b64624a9e7 inc/unidatamodelplugininterface.h --- a/inc/unidatamodelplugininterface.h Fri Jun 11 13:35:48 2010 +0300 +++ b/inc/unidatamodelplugininterface.h Wed Jun 23 18:09:17 2010 +0300 @@ -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; };