m_inClass = FALSE;
m_classname.clear();
}
+ m_file.FlushAll();
}
void HelpGenVisitor::EndVisit()
m_fileHeader.Empty();
m_file.FlushAll();
+ if (m_file.IsOpened())
+ {
+ m_file.Flush();
+ m_file.Close();
+ }
wxLogVerbose("%s: finished generating for the current file.",
GetCurrentTime("%H:%M:%S"));
{
CloseClass();
+ if (m_file.IsOpened())
+ {
+ m_file.Flush();
+ m_file.Close();
+ }
+
wxString name = cl.GetName();
if ( m_ignoreNames.IgnoreClass(name) ) {
InsertDataStructuresHeader();
InsertTypedefDocs();
InsertEnumDocs();
+
+ m_file.Flush();
}
void HelpGenVisitor::VisitEnumeration( spEnumeration& en )
/*
$Log$
+ Revision 1.19 2002/01/03 13:34:12 JS
+ Added FlushAll to CloseClass, otherwise text was only flushed right at the end,
+ and appeared in one file.
+
Revision 1.18 2002/01/03 12:02:47 JS
Added main() and corrected VC++ project settings