summaryrefslogtreecommitdiff
path: root/src/file.h
diff options
context:
space:
mode:
authordeva <deva>2005-06-13 20:38:19 +0000
committerdeva <deva>2005-06-13 20:38:19 +0000
commit0836a6e06f86e366017da3b2b2c132b3a4f2c877 (patch)
tree2df50f436a8664e564267d1200f3ef9b6c204dbe /src/file.h
parentfca7f73ae889f5e74a3b31441f5b2d778ecbd2d4 (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.h11
1 files changed, 10 insertions, 1 deletions
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 <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;