#ifndef _GUITAR_TABWRITER_HPP_ #define _GUITAR_TABWRITER_HPP_ #ifndef _COMMON_STRING_HPP_ #include #endif #ifndef _COMMON_ARRAY_HPP_ #include #endif #ifndef _COMMON_FILE_HPP_ #include #endif #ifndef _GUITAR_TABENTRY_HPP_ #include #endif #ifndef _GUITAR_LINEPARSER_HPP_ #include #endif class TabWriter : public Array { public: TabWriter(); virtual ~TabWriter(); bool write(TabEntries &entries,const String &strPathTabFile); private: enum {MaxItems=30,NumLines=6}; void writeLines(File &outFile); void initLines(void); void setHeader(void); void synchronize(void); }; inline TabWriter::TabWriter() { } inline TabWriter::~TabWriter() { } #endif