summaryrefslogtreecommitdiff
path: root/p2pvr/p2comp/streamBase.h
blob: 279625b46f2f1357ec8daafbcef41081ded9863c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef STREAMBASE_H
#define STREAMBASE_H

#include <iceDataSource.h>
#include <stream.h>
#include <options.h>

class StreamBase : public Stream {
	public:
		StreamBase(ScriptNodePtr p);
		~StreamBase();

		void loadComplete(const CommonObjects * co) override;

		INITOPTIONS;
	protected:
		Variable dataSource;
		const IceDataSource * ice;
		Ice::ObjectAdapterPtr adapter;

		static int startPort;
		static int endPort;
};

#endif