~tiagosh/history-service/fix-1510655

« back to all changes in this revision

Viewing changes to src/plugin.h

Request contact information for all known participants on history-daemon initialization, and use this cached information on the models.
Approved by: Tiago Salem Herrmann, PS Jenkins bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
public:
40
40
    virtual ~Plugin() {}
41
41
 
 
42
    virtual bool initialised() { return true; }
 
43
 
42
44
    // Reader part of the plugin
43
45
    virtual PluginThreadView* queryThreads(EventType type,
44
46
                                       const Sort &sort = Sort(),
75
77
    virtual bool beginBatchOperation() {}
76
78
    virtual bool endBatchOperation() {}
77
79
    virtual bool rollbackBatchOperation() {}
 
80
 
 
81
    // FIXME: this is hackish, but changing it required a broad refactory of HistoryDaemon
 
82
    virtual void generateContactCache() {}
78
83
};
79
84
 
80
85
}