diff options
Diffstat (limited to 'src/file.h')
-rw-r--r-- | src/file.h | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -31,6 +31,10 @@ /* * $Log$ + * Revision 1.2 2005/06/13 20:38:19 deva + * Added some logfile code. + * Enhanced the file object... now ready to hook into mov_encoder + * * Revision 1.1 2005/06/09 17:54:00 deva * New file object, that takes care of uniqueness and counts up number in * filename, when grown too big. @@ -41,22 +45,27 @@ #ifndef __MIAV_FILE_H__ #define __MIAV_FILE_H__ +#include "info.h" + #include <string.h> using namespace std; class File { public: - File(char *filename, char* ext); + File(char *filename, char* ext, Info* info); ~File(); int Write(void* data, int size); private: + Info* info; + int Open(); int fd; int num; + int seqnum; char* filename; char* extension; |