Let's make (git) history!
Αυτή η υποβολή περιλαμβάνεται σε:
19
htmllink.h
Κανονικό αρχείο
19
htmllink.h
Κανονικό αρχείο
@@ -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
|
||||
Αναφορά σε νέο ζήτημα
Block a user