#ifndef APPS_MASTER_H
#define APPS_MASTER_H
#include <cppcms/application.h>
#include <cppdb/frontend.h>
#include <data/master.h>
namespace apps {
public:
virtual void init();
virtual void clear();
protected:
void prepare(data::master &c);
cppdb::session sql;
private:
std::string conn_str_;
std::string media_;
};
}
#endif