summaryrefslogtreecommitdiffstats
path: root/noatun/modules/net/net.h
blob: 41c0743889aff497fbc5716ce774d2777b3bb626 (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
#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