summaryrefslogtreecommitdiffstats
path: root/noatun/modules/net/net.h
blob: 68df6e203d6bf307a8c00f43291912a94ce5f294 (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
{
Q_OBJECT
  

public:
	Net();
	~Net();

public slots:
	void newSong();

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

private:
	TQPtrList<TQSocket> mFDs;
};

#endif