diff options
author | deva <deva> | 2005-06-13 20:38:19 +0000 |
---|---|---|
committer | deva <deva> | 2005-06-13 20:38:19 +0000 |
commit | 0836a6e06f86e366017da3b2b2c132b3a4f2c877 (patch) | |
tree | 2df50f436a8664e564267d1200f3ef9b6c204dbe /src/file.h | |
parent | fca7f73ae889f5e74a3b31441f5b2d778ecbd2d4 (diff) |
Added some logfile code.
Enhanced the file object... now ready to hook into mov_encoder
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; |