2019-02-25 14:48:22 +01:00
|
|
|
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
2013-12-18 16:06:39 +01:00
|
|
|
|
|
|
|
#ifndef HISTORYTABLE_H
|
|
|
|
#define HISTORYTABLE_H
|
|
|
|
|
2014-05-25 16:23:35 +02:00
|
|
|
#include "livestatus/table.hpp"
|
|
|
|
#include "base/dictionary.hpp"
|
2013-12-18 16:06:39 +01:00
|
|
|
|
|
|
|
namespace icinga
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @ingroup livestatus
|
|
|
|
*/
|
2017-12-31 07:22:16 +01:00
|
|
|
class HistoryTable : public Table
|
2013-12-18 16:06:39 +01:00
|
|
|
{
|
|
|
|
public:
|
2018-01-04 06:11:04 +01:00
|
|
|
virtual void UpdateLogEntries(const Dictionary::Ptr& bag, int line_count, int lineno, const AddRowFunction& addRowFn) = 0;
|
2013-12-18 16:06:39 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* HISTORYTABLE_H */
|