~vanhoof/+junk/znc

« back to all changes in this revision

Viewing changes to Client.h

  • Committer: Bazaar Package Importer
  • Author(s): Patrick Matthäi
  • Date: 2011-02-06 17:41:38 UTC
  • mfrom: (21.1.2 experimental)
  • Revision ID: james.westby@ubuntu.com-20110206174138-ush4l5mkr4wg738n
Tags: 0.096-2
* Merge 0.092-3~bpo50+1 changelog.
* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
78
78
                m_bGotPass = false;
79
79
                m_bGotNick = false;
80
80
                m_bGotUser = false;
 
81
                m_bInCap = false;
81
82
                m_bNamesx = false;
82
83
                m_bUHNames = false;
83
84
                EnableReadLine();
112
113
        void PutModule(const CString& sModule, const CString& sLine);
113
114
        void PutModNotice(const CString& sModule, const CString& sLine);
114
115
 
 
116
        bool IsCapEnabled(const CString& sCap) { return 1 == m_ssAcceptedCaps.count(sCap); }
 
117
 
115
118
        virtual void ReadLine(const CString& sData);
116
119
        bool SendMotd();
117
120
        void HelpUser();
127
130
        const CIRCSock* GetIRCSock() const;
128
131
        CIRCSock* GetIRCSock();
129
132
private:
 
133
        void HandleCap(const CString& sLine);
 
134
        void RespondCap(const CString& sResponse);
130
135
 
131
136
protected:
132
137
        bool                 m_bGotPass;
133
138
        bool                 m_bGotNick;
134
139
        bool                 m_bGotUser;
 
140
        bool                 m_bInCap;
135
141
        bool                 m_bNamesx;
136
142
        bool                 m_bUHNames;
137
143
        CUser*               m_pUser;
139
145
        CString              m_sPass;
140
146
        CString              m_sUser;
141
147
        CSmartPtr<CAuthBase> m_spAuth;
 
148
        SCString             m_ssAcceptedCaps;
142
149
};
143
150
 
144
151
#endif // !_CLIENT_H