You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#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
|
|
|
|
|