mirror of
https://gitee.com/an-tao/drogon.git
synced 2024-12-02 03:38:03 +08:00
24 lines
393 B
Plaintext
24 lines
393 B
Plaintext
/**
|
|
*
|
|
* [[filename]].cc
|
|
*
|
|
*/
|
|
|
|
#include "[[filename]].h"
|
|
|
|
using namespace drogon;
|
|
<%c++auto namespaceStr=@@.get<std::string>("namespaceString");
|
|
if(!namespaceStr.empty())
|
|
$$<<"using namespace "<<namespaceStr<<";\n";
|
|
%>
|
|
|
|
void [[className]]::initAndStart(const Json::Value &config)
|
|
{
|
|
/// Initialize and start the plugin
|
|
}
|
|
|
|
void [[className]]::shutdown()
|
|
{
|
|
/// Shutdown the plugin
|
|
}
|