diff -r a32b19fb291e -r 5b14749788d7 inc/unidatamodelplugininterface.inl --- a/inc/unidatamodelplugininterface.inl Thu Jun 17 09:57:06 2010 +0100 +++ b/inc/unidatamodelplugininterface.inl Thu Jul 22 16:32:06 2010 +0100 @@ -18,9 +18,8 @@ // UniMessageInfo::UniMessageInfo // @see header //---------------------------------------------------------------- - UniMessageInfo::UniMessageInfo( const QString& filepath, - const int size, - const QString& mimetype ) : mPath (filepath), mSize(size), mMimeType(mimetype) +UniMessageInfo::UniMessageInfo(const QString& filepath, const int size, const QString& mimetype) : + mPath(filepath), mMimeType(mimetype), mSize(size), mProtected(false), mCorrupt(false) { @@ -89,6 +88,42 @@ } //---------------------------------------------------------------- +// UniMessageInfo::isProtected +// @see header +//---------------------------------------------------------------- +inline bool UniMessageInfo::isProtected() const + { + return mProtected; + } + +//---------------------------------------------------------------- +// UniMessageInfo::setProtected +// @see header +//---------------------------------------------------------------- +inline void UniMessageInfo::setProtected(bool isProtected) + { + mProtected = isProtected; + } + +//---------------------------------------------------------------- +// UniMessageInfo::isCorrupted +// @see header +//---------------------------------------------------------------- +inline bool UniMessageInfo::isCorrupted() const + { + return mCorrupt; + } + +//---------------------------------------------------------------- +// UniMessageInfo::setCorrupted +// @see header +//---------------------------------------------------------------- +inline void UniMessageInfo::setCorrupted(bool corrupted) + { + mCorrupt = corrupted; + } + +//---------------------------------------------------------------- // UniMessageInfo::serialize // @see header //----------------------------------------------------------------