Let's make (git) history!
This commit is contained in:
19
htmllink.h
Normal file
19
htmllink.h
Normal file
@@ -0,0 +1,19 @@
|
||||
#ifndef HTMLLINK_H
|
||||
#define HTMLLINK_H
|
||||
#include <string>
|
||||
|
||||
class HtmlLink
|
||||
{
|
||||
public:
|
||||
HtmlLink();
|
||||
std::string href;
|
||||
std::string innervalue;
|
||||
std::string cssclass;
|
||||
|
||||
std::string render()
|
||||
{
|
||||
return "<a href=\"" + href + "\" class=\"" + cssclass + "\">" + innervalue + "</a>";
|
||||
}
|
||||
};
|
||||
|
||||
#endif // HTMLLINK_H
|
Reference in New Issue
Block a user