summaryrefslogtreecommitdiff
path: root/src/file.h
diff options
context:
space:
mode:
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;