~ubuntu-branches/ubuntu/karmic/mumble/karmic-updates

« back to all changes in this revision

Viewing changes to src/Player.h

  • Committer: Bazaar Package Importer
  • Author(s): Patrick Matthäi, Patrick Matthäi, Thorvald Natvig
  • Date: 2009-02-04 10:32:16 UTC
  • mfrom: (1.2.1 upstream) (4.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20090204103216-vqx5fmlruwzn3uh2
[ Patrick Matthäi ]
* Add a mumble-dbg package, which contains the debugging symbols of mumble
  and mumble-server.
* Move swedish translation debian/sv.po to debian/po/sv.po.
  This was a bad error of mine.
* Remove debian/patches and dpatch, everything has been merged by upstream.

[ Thorvald Natvig ]
* New upstream release.
  Closes: #513119
* Added Spanish translation from Álvaro M. Recio
* Synchronized copyright

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Copyright (C) 2005-2008, Thorvald Natvig <thorvald@natvig.com>
 
1
/* Copyright (C) 2005-2009, Thorvald Natvig <thorvald@natvig.com>
2
2
 
3
3
   All rights reserved.
4
4
 
36
36
class Channel;
37
37
 
38
38
class Player {
 
39
        private:
 
40
                Q_DISABLE_COPY(Player)
39
41
        public:
40
42
                enum State { Connected, Authenticated };
41
43
                State sState;
47
49
                bool bSelfMute, bSelfDeaf;
48
50
                bool bTalking, bAltSpeak;
49
51
                Channel *cChannel;
 
52
                QString getFlagsString() const;
50
53
 
51
54
                Player();
52
55
                virtual ~Player() {};
53
56
};
54
57
 
55
58
class ClientPlayer : public QObject, public Player {
 
59
        private:
56
60
                Q_OBJECT
 
61
                Q_DISABLE_COPY(ClientPlayer)
57
62
        public:
58
63
                ClientPlayer(QObject *p = NULL);
59
64
                static QHash<unsigned int, ClientPlayer *> c_qmPlayers;