qswiki/htmllink.h

20 satır
305 B
C
Ham Normal Görünüm Geçmiş

2018-11-03 17:12:20 +01:00
#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