comparison transform/FileFeatureWriter.h @ 591:7065e921f122

* add reviewFileForAppend callback
author Chris Cannam
date Thu, 14 May 2009 15:48:07 +0000
parents 38b1ddf18d4b
children 608b4dc5ff34
comparison
equal deleted inserted replaced
590:063da8955f65 591:7065e921f122
62 FileStreamMap m_streams; 62 FileStreamMap m_streams;
63 QTextStream *m_prevstream; 63 QTextStream *m_prevstream;
64 64
65 QString getOutputFilename(QString, TransformId); 65 QString getOutputFilename(QString, TransformId);
66 QFile *getOutputFile(QString, TransformId); 66 QFile *getOutputFile(QString, TransformId);
67
68 // subclass can implement this to be called before file is opened for append
69 virtual void reviewFileForAppending(QString filename) { }
67 70
68 int m_support; 71 int m_support;
69 QString m_extension; 72 QString m_extension;
70 QString m_baseDir; 73 QString m_baseDir;
71 bool m_manyFiles; 74 bool m_manyFiles;