~ubuntu-branches/ubuntu/quantal/psi/quantal

« back to all changes in this revision

Viewing changes to src/plugins/generic/chess/gamesocket.h

  • Committer: Bazaar Package Importer
  • Author(s): Jan Niehusmann
  • Date: 2008-04-14 18:57:30 UTC
  • mfrom: (2.1.9 hardy)
  • Revision ID: james.westby@ubuntu.com-20080414185730-528re3zp0m2hdlhi
Tags: 0.11-8
* added CONFIG -= link_prl to .pro files and removed dependencies
  which are made unnecessary by this change
* Fix segfault when closing last chat tab with qt4.4
  (This is from upstream svn, rev. 1101) (Closes: Bug#476122)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (c) 2005 by SilverSoft.Net
 
3
 * All rights reserved
 
4
 *
 
5
 * $Id: gamesocket.h,v 0.1 2005/01/08 12:31:24 denis Exp $
 
6
 *
 
7
 * Author: Denis Kozadaev (denis@silversoft.net)
 
8
 * Description:
 
9
 *
 
10
 * See also: style(9)
 
11
 *
 
12
 * Hacked by:
 
13
 */
 
14
 
 
15
#ifndef __GAME_SOCKET_H__
 
16
#define __GAME_SOCKET_H__
 
17
 
 
18
#include <q3serversocket.h>
 
19
#include <stdlib.h>
 
20
 
 
21
#define GAME_PORT       1345
 
22
#define GAME_BACKLOG    5
 
23
 
 
24
class GameSocket:public Q3ServerSocket
 
25
{
 
26
        Q_OBJECT
 
27
public:
 
28
        GameSocket(QWidget *parent = NULL, const char *name = NULL);
 
29
        ~GameSocket();
 
30
 
 
31
private:
 
32
 
 
33
protected:
 
34
        void    newConnection(int);
 
35
 
 
36
signals:
 
37
        void    acceptConnection(int);
 
38
};
 
39
 
 
40
#endif  /* __GAME_SOCKET_H__ */