summaryrefslogtreecommitdiffhomepage
path: root/plugin_interface.h
blob: e67d20aef49a552a1f6384ad5f3f22d6d60c15ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

#include <boost/config.hpp>

#include <string>

class BOOST_SYMBOL_VISIBLE webserver_plugin_interface {
public:
 static const int interface_version {1};
 virtual int version() { return interface_version; }
 virtual std::string name() = 0;
 virtual std::string generate_page(std::string path) = 0;
 virtual ~webserver_plugin_interface(){}
};