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.
tdemultimedia/noatun/modules/net/net.h

32 lines
412 B

#ifndef DCOPIFACE_H
#define DCOPIFACE_H
#include <noatun/player.h>
#include <noatun/plugin.h>
#include <qserversocket.h>
#include <qsocket.h>
#include <unistd.h>
class Net : public QServerSocket, public Plugin
{
Q_OBJECT
public:
Net();
~Net();
public slots:
void newSong();
private slots:
void closed();
protected:
virtual void newConnection(int socket);
private:
QPtrList<QSocket> mFDs;
};
#endif