src/ncc.h

00001 #ifndef __NCC_H__
00002 #define __NCC_H__
00003 
00004 #include "xmldoc.h"
00005 #include "meta.h"
00006 #include <vector>
00007 
00008 namespace freedaisy {
00010   class NCC : public XMLDoc {
00011   public:
00013     NCC();
00015 
00018     NCC(std::string filename) : XMLDoc(filename) {}
00020 
00024     void createDoc(std::string title = "Default title", std::string lang = "en");
00026     std::string getTitle();
00028 
00031     void setTitle(std::string newtitle);
00033 
00038     void setLang(std::string lang);
00040 
00043     std::string getLang();
00045 
00048     std::vector<Meta> getMeta(std::string name);
00050     void addMeta(Meta *m);
00052 
00055     XMLNode getPage(std::string number);
00057     XMLNode getBody();
00059     std::vector<XMLNode> getHeadings();
00060   };
00061 }
00062 
00063 #endif

Generated on Sun Jun 25 20:48:22 2006 for libdaisy by  doxygen 1.4.6