blob: 8c7594b1b543f8fed6cc305852d358571e6dfec0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef FILESINK_H
#define FILESINK_H
#include <boost/filesystem/path.hpp>
#include <stdio.h>
#include <dvb.h>
class FileSink : public P2PVR::RawDataClient {
public:
FileSink(const boost::filesystem::path & path);
FileSink(int fd);
~FileSink();
bool NewData(const P2PVR::Data & data, const Ice::Current &);
private:
FILE * const file;
};
#endif
|