diff options
Diffstat (limited to 'plugin_interface.h')
-rw-r--r-- | plugin_interface.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin_interface.h b/plugin_interface.h index 72da0b9..e67d20a 100644 --- a/plugin_interface.h +++ b/plugin_interface.h @@ -6,6 +6,9 @@ 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(){} }; |