recents_plat/logs_engine_api/inc/logsevent.h
changeset 6 41c0a814d878
parent 4 e52d42f9500c
child 15 76d2cf7a585e
--- a/recents_plat/logs_engine_api/inc/logsevent.h	Thu May 27 12:51:53 2010 +0300
+++ b/recents_plat/logs_engine_api/inc/logsevent.h	Fri Jun 11 13:38:41 2010 +0300
@@ -27,6 +27,7 @@
 class LogsEventData;
 class LogsEventStrings;
 class CLogEvent;
+class QDataStream;
 
 QTM_BEGIN_NAMESPACE
 class QContactName;
@@ -166,6 +167,16 @@
          */
         LOGSENGINE_EXPORT bool isRead() const;
         
+        /**
+         * Construct event from serialized data stream
+         */
+        LOGSENGINE_EXPORT LogsEvent( QDataStream& serializedEvent );
+        
+        /**
+         * Serialize event to data stream
+         */
+        LOGSENGINE_EXPORT bool serialize( QDataStream& serializeDestination );
+        
     public:
         
         /**