--- a/inc/unidatamodelplugininterface.inl Mon May 03 12:29:07 2010 +0300
+++ b/inc/unidatamodelplugininterface.inl Fri Jun 25 15:47:40 2010 +0530
@@ -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
//----------------------------------------------------------------