00001
00002 #ifndef HTML_LABEL_HH
00003 #define HTML_LABEL_HH
00004
00005 #include "html/object.hh"
00006 #include <time.h>
00007 #include <string>
00008
00009 namespace html {
00010 class writer;
00011
00020 class label : public object {
00021 public:
00025 label(void);
00026
00031 label (const std::string& name);
00032
00036 ~label(void);
00037
00042 label* clone(void) const;
00043
00048 void write(writer& out) const;
00049
00054 void setName(const std::string& txt);
00055
00056 private:
00057 std::string mName;
00058 };
00059 }
00060
00061 #endif // HTML_LABEL_HH