recents_plat/logs_engine_api/inc/logsmodel.h
changeset 6 41c0a814d878
parent 2 7119b73b84d6
child 15 76d2cf7a585e
equal deleted inserted replaced
4:e52d42f9500c 6:41c0a814d878
    23 
    23 
    24 class LogsEvent;
    24 class LogsEvent;
    25 class LogsDbConnector;
    25 class LogsDbConnector;
    26 class LogsMatchesModel;
    26 class LogsMatchesModel;
    27 class LogsConfigurationParams;
    27 class LogsConfigurationParams;
       
    28 class LogsDetailsModel;
    28 
    29 
    29 /**
    30 /**
    30  * Model for log events.
    31  * Model for log events.
    31  *
    32  *
    32  */
    33  */
   110      * Configuration.
   111      * Configuration.
   111      * @param configuration parameters
   112      * @param configuration parameters
   112      * @return 0 if configured succesfully
   113      * @return 0 if configured succesfully
   113      */
   114      */
   114     LOGSENGINE_EXPORT int updateConfiguration(LogsConfigurationParams& params);
   115     LOGSENGINE_EXPORT int updateConfiguration(LogsConfigurationParams& params);
       
   116     
       
   117     /**
       
   118      * Get details model.
       
   119      * @return details model
       
   120      */
       
   121     LOGSENGINE_EXPORT LogsDetailsModel* logsDetailsModel(LogsEvent& event);
   115 
   122 
   116 public: // From QAbstractItemModel
   123 public: // From QAbstractItemModel
   117     
   124     
   118     /**
   125     /**
   119      * Get number of events currently in the model.
   126      * Get number of events currently in the model.