~ubuntu-branches/ubuntu/hoary/kdemultimedia/hoary

« back to all changes in this revision

Viewing changes to noatun/noatun/modules/net/net.h

  • Committer: Bazaar Package Importer
  • Author(s): Martin Schulze
  • Date: 2003-01-22 15:00:51 UTC
  • Revision ID: james.westby@ubuntu.com-20030122150051-uihwkdoxf15mi1tn
Tags: upstream-2.2.2
ImportĀ upstreamĀ versionĀ 2.2.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef DCOPIFACE_H
 
2
#define DCOPIFACE_H
 
3
 
 
4
#include <player.h>
 
5
#include <plugin.h>
 
6
#include <qserversocket.h>
 
7
#include <qsocket.h>
 
8
#include <unistd.h>
 
9
 
 
10
class Net : public QServerSocket, public Plugin
 
11
{
 
12
Q_OBJECT
 
13
NOATUNPLUGIND;
 
14
 
 
15
public:
 
16
        Net();
 
17
        ~Net();
 
18
 
 
19
public slots:
 
20
        void newSong();
 
21
 
 
22
private slots:
 
23
        void closed();
 
24
protected:
 
25
        virtual void newConnection(int socket);
 
26
 
 
27
private:
 
28
        QList<QSocket> mFDs;
 
29
};
 
30
 
 
31
#endif
 
32