mirror of
https://github.com/uroni/urbackup_backend.git
synced 2025-10-26 11:36:50 +00:00
22 lines
433 B
C++
22 lines
433 B
C++
#ifndef ITEMPLATE_H
|
|
#define ITEMPLATE_H
|
|
|
|
#include "Object.h"
|
|
|
|
class IDatabase;
|
|
class ITable;
|
|
|
|
class ITemplate : public IObject
|
|
{
|
|
public:
|
|
virtual void Reset(void)=0;
|
|
|
|
virtual void setValue(std::string key, std::string value)=0;
|
|
virtual ITable* getTable(std::string key)=0;
|
|
virtual std::string getData(void)=0;
|
|
|
|
virtual void addValueTable( IDatabase* db, const std::string &table)=0;
|
|
};
|
|
|
|
|
|
#endif //ITEMPLATE_H
|