dynamic: Add DynamicContent{Get,Set}Var
这个提交包含在:
17
dynamic/dynamiccontentsetvar.h
普通文件
17
dynamic/dynamiccontentsetvar.h
普通文件
@@ -0,0 +1,17 @@
|
||||
#ifndef DYNAMCCONTENTPUSHVAR_H
|
||||
#define DYNAMCCONTENTPUSHVAR_H
|
||||
#include "dynamiccontent.h"
|
||||
class DynamicContentSetVar : public DynamicContent
|
||||
{
|
||||
private:
|
||||
std::map<std::string, std::string> *map;
|
||||
|
||||
public:
|
||||
using DynamicContent::DynamicContent;
|
||||
|
||||
std::string render();
|
||||
void setArgument(std::string argument);
|
||||
void setMap(std::map<std::string, std::string> &map);
|
||||
};
|
||||
|
||||
#endif // DYNAMCCONTENTPUSHVAR_H
|
在新工单中引用
屏蔽一个用户