~ubuntu-branches/ubuntu/trusty/manaplus/trusty

« back to all changes in this revision

Viewing changes to src/net/ea/loginhandler.h

  • Committer: Package Import Robot
  • Author(s): Patrick Matthäi
  • Date: 2013-10-07 10:26:14 UTC
  • mfrom: (1.1.11)
  • Revision ID: package-import@ubuntu.com-20131007102614-tg2zjdz8vmtl6n7i
Tags: 1.3.9.29-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
#define NET_EA_LOGINHANDLER_H
25
25
 
26
26
#include "net/loginhandler.h"
27
 
#include "net/net.h"
28
27
#include "net/messagein.h"
29
28
 
30
29
#include "net/ea/token.h"
39
38
class LoginHandler : public Net::LoginHandler
40
39
{
41
40
    public:
42
 
        LoginHandler();
43
 
 
44
41
        A_DELETE_COPY(LoginHandler)
45
42
 
46
 
        ~LoginHandler();
 
43
        virtual ~LoginHandler();
47
44
 
48
45
        int supportedOptionalActions() const override A_WARN_UNUSED
49
46
        { return SetGenderOnRegister; }
93
90
        virtual void processServerVersion(Net::MessageIn &msg) = 0;
94
91
 
95
92
    protected:
 
93
        LoginHandler();
 
94
 
96
95
        virtual void sendLoginRegister(const std::string &username,
97
96
                                       const std::string &password,
98
97
                                       const std::string &email) const = 0;