From 0836a6e06f86e366017da3b2b2c132b3a4f2c877 Mon Sep 17 00:00:00 2001 From: deva Date: Mon, 13 Jun 2005 20:38:19 +0000 Subject: Added some logfile code. Enhanced the file object... now ready to hook into mov_encoder --- src/file.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/file.h') diff --git a/src/file.h b/src/file.h index e093da9..6326528 100644 --- a/src/file.h +++ b/src/file.h @@ -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 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; -- cgit v1.2.3