2019-03-29 07:34:14 +00:00
|
|
|
/**
|
|
|
|
*
|
2019-04-25 06:36:42 +00:00
|
|
|
* [[filename]].cc
|
2019-03-29 07:34:14 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2019-04-25 06:36:42 +00:00
|
|
|
#include "[[filename]].h"
|
2019-03-29 07:34:14 +00:00
|
|
|
|
|
|
|
using namespace drogon;
|
|
|
|
<%c++auto namespaceStr=@@.get<std::string>("namespaceString");
|
|
|
|
if(!namespaceStr.empty())
|
|
|
|
$$<<"using namespace "<<namespaceStr<<";\n";
|
|
|
|
%>
|
|
|
|
|
2019-04-25 06:36:42 +00:00
|
|
|
void [[className]]::initAndStart(const Json::Value &config)
|
2019-03-29 07:34:14 +00:00
|
|
|
{
|
|
|
|
/// Initialize and start the plugin
|
|
|
|
}
|
|
|
|
|
2019-04-25 06:36:42 +00:00
|
|
|
void [[className]]::shutdown()
|
2019-03-29 07:34:14 +00:00
|
|
|
{
|
|
|
|
/// Shutdown the plugin
|
|
|
|
}
|