1 2 #ifndef _STUDIO_SOURCE_WRITER_ 3 #define _STUDIO_SOURCE_WRITER_ 4 5 class studio_source_writer { 6 public: studio_source_writer()7 studio_source_writer() { m_outfile = NULL; m_written_size = 0; }; 8 9 protected: 10 void WriteCommentBlock(CString &comment); 11 void WriteComment(char *comment); 12 void WriteAdditionalHeaders(CString &headers); 13 void BlankLine(); 14 void FileWrite(CString &out); 15 void FileWrite(const void *lpBuf, UINT nCount); 16 17 protected: 18 CFile *m_outfile; 19 ULONG m_written_size; 20 }; 21 22 #endif