proj home

Files   Classes   Functions   Hierarchy  

html.h

Go to the documentation of this file.
00001 #ifndef HTML_H
00002 #define HTML_H
00003 
00004 #include <commandline.h>
00005 
00009 class html
00010 {
00011 public:
00012 
00013   // While here these are not as concise  // as directly entering the html.
00015   static string space;
00017   static string br;
00018 
00019 // Html strict header.
00020 //  static header01;
00021 
00022 // TODO support html, xhtml headers.
00023 // Issues: ico file and directory
00024 // variable additions to head tag.
00025 
00026   
00041   static int insert(commandline& cmd);
00042 
00043   static int insert
00044   (
00045     stringc& file, 
00046     stringc& tag1,
00047     stringc& tag2,
00048     stringc& text
00049   );
00050 
00051 };
00052   
00053 
00054 /*
00055 
00056   echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">"
00057   echo "<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\">"
00058   echo "<head>"
00059   echo "<title> Makefile </title>"
00060   echo "<meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\"/>"
00061   echo "<link rel=\"stylesheet\" href=\"../documentation/s011.css\" type=\"text/css\" />"
00062   echo "<link rel='SHORTCUT ICON' href='../documentation/images/FrameHome.ico' />" 
00063   echo "<style type=\"text/css\">"
00064   echo "p { font-size: 9pt; }"
00065   echo " a.reflocal"
00066   echo "{"
00067   echo " text-decoration: none;" 
00068   echo " color: rgb(102,102,102);" 
00069   echo "}"
00070   echo "a.reflocal:hover { color: red; }";
00071   echo "</style>"
00072   echo "</head>"
00073   echo "<body>"
00074 
00075 */
00076 
00077 
00103 #endif
00104 

Generated on Fri Mar 4 00:49:28 2011 for Chelton Evans Source by  doxygen 1.5.8