summaryrefslogtreecommitdiffstats
path: root/noatun/modules/net/net.h
blob: 4548f63f59ffec574b52db67b512c05be48d2907 (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
27
28
29
30
31
32
#ifndef DCOPIFACE_H
#define DCOPIFACE_H

#include <noatun/player.h>
#include <noatun/plugin.h>
#include <tqserversocket.h>
#include <tqsocket.h>
#include <unistd.h>

class Net : public TQServerSocket, public Plugin
{
TQ_OBJECT
  

public:
	Net();
	~Net();

public slots:
	void newSong();

private slots:
	void closed();
protected:
	virtual void newConnection(int socket);

private:
	TQPtrList<TQSocket> mFDs;
};

#endif