blob: 5e6c509dd9522fd8e9dd91ddf2e37a7490d6c77b (
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
TQ_OBJECT
public:
Net();
~Net();
public slots:
void newSong();
private slots:
void closed();
protected:
virtual void newConnection(int socket);
private:
TQPtrList<TQSocket> mFDs;
};
#endif
|