diff -r 84d9eb65b26f -r 518b245aa84c inc/unidatamodelplugininterface.h --- a/inc/unidatamodelplugininterface.h Mon May 03 12:29:07 2010 +0300 +++ b/inc/unidatamodelplugininterface.h Fri Jun 25 15:47:40 2010 +0530 @@ -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; };