~ubuntu-branches/ubuntu/vivid/quassel/vivid-updates

« back to all changes in this revision

Viewing changes to src/common/peerfactory.h

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2014-03-16 17:49:07 UTC
  • mfrom: (1.1.55)
  • Revision ID: package-import@ubuntu.com-20140316174907-0d5f03zhdmv03chp
Tags: 0.10~rc1-0ubuntu1
New upstream RC release

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
 
24
24
#include <QPair>
25
25
 
 
26
#include "compressor.h"
26
27
#include "protocol.h"
27
28
 
28
29
class QObject;
41
42
 
42
43
    static ProtoList supportedProtocols();
43
44
 
44
 
    static RemotePeer *createPeer(const ProtoDescriptor &protocol, AuthHandler *authHandler, QTcpSocket *socket, QObject *parent = 0);
45
 
    static RemotePeer *createPeer(const ProtoList &protocols, AuthHandler *authHandler, QTcpSocket *socket, QObject *parent = 0);
 
45
    static RemotePeer *createPeer(const ProtoDescriptor &protocol, AuthHandler *authHandler, QTcpSocket *socket, Compressor::CompressionLevel level, QObject *parent = 0);
 
46
    static RemotePeer *createPeer(const ProtoList &protocols, AuthHandler *authHandler, QTcpSocket *socket, Compressor::CompressionLevel level, QObject *parent = 0);
46
47
 
47
48
};
48
49