html/image.hh

00001 /* -*- mode: c++; c-basic-offset: 4; -*- */
00002 #ifndef HTML_IMAGE_HH
00003 #define HTML_IMAGE_HH
00004 
00005 #include "html/object.hh"
00006 #include "html/Attrib.hh"
00007 #include <string>
00008 
00009 namespace html {
00010   class writer;
00011 
00020   class image : public object {
00021   public:
00025     image(void);
00026 
00031     image (const std::string& src);
00032 
00036     ~image(void);
00037 
00042     image* clone(void) const;
00043 
00048     void write(writer& out) const;
00049 
00055     void setWidth(const std::string& w);
00056 
00061     void setSource(const std::string& src);
00062   private:
00063     attList mAttr;
00064   };
00065 }
00066 
00067 #endif  // HTML_IMAGE_HH

Generated on Sun Mar 8 19:20:48 2009 for dmt by  doxygen 1.5.4