recents_plat/logs_engine_api/inc/logsevent.h
changeset 6 41c0a814d878
parent 4 e52d42f9500c
child 15 76d2cf7a585e
equal deleted inserted replaced
4:e52d42f9500c 6:41c0a814d878
    25 
    25 
    26 // FORWARD DECLARATION
    26 // FORWARD DECLARATION
    27 class LogsEventData;
    27 class LogsEventData;
    28 class LogsEventStrings;
    28 class LogsEventStrings;
    29 class CLogEvent;
    29 class CLogEvent;
       
    30 class QDataStream;
    30 
    31 
    31 QTM_BEGIN_NAMESPACE
    32 QTM_BEGIN_NAMESPACE
    32 class QContactName;
    33 class QContactName;
    33 class QContactManager;
    34 class QContactManager;
    34 QTM_END_NAMESPACE
    35 QTM_END_NAMESPACE
   163         /**
   164         /**
   164          * Check whether event has been read already
   165          * Check whether event has been read already
   165          * @return true if event has been marked as read
   166          * @return true if event has been marked as read
   166          */
   167          */
   167         LOGSENGINE_EXPORT bool isRead() const;
   168         LOGSENGINE_EXPORT bool isRead() const;
       
   169         
       
   170         /**
       
   171          * Construct event from serialized data stream
       
   172          */
       
   173         LOGSENGINE_EXPORT LogsEvent( QDataStream& serializedEvent );
       
   174         
       
   175         /**
       
   176          * Serialize event to data stream
       
   177          */
       
   178         LOGSENGINE_EXPORT bool serialize( QDataStream& serializeDestination );
   168         
   179         
   169     public:
   180     public:
   170         
   181         
   171         /**
   182         /**
   172          * Initialized the event with contents of given source event.
   183          * Initialized the event with contents of given source event.