mirror of
https://github.com/znc/znc.git
synced 2026-08-10 10:52:59 +02:00
Change a bunch of tabs into spaces
At the beginning of lines, one uses tabs for indenting. In the middle of the line, you use spaces. If you want two different lines to line up with each other, you start them with the same number of tabs and use spaces for the rest of the indenting in the "other" line. Really, that's how one does it! git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1963 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
+14
-14
@@ -49,10 +49,10 @@ public:
|
||||
size_t AddError(const CString& sMessage);
|
||||
size_t AddSuccess(const CString& sMessage);
|
||||
private:
|
||||
CString m_sId;
|
||||
CUser* m_pUser;
|
||||
VCString m_vsErrorMsgs;
|
||||
VCString m_vsSuccessMsgs;
|
||||
CString m_sId;
|
||||
CUser* m_pUser;
|
||||
VCString m_vsErrorMsgs;
|
||||
VCString m_vsSuccessMsgs;
|
||||
};
|
||||
|
||||
|
||||
@@ -82,10 +82,10 @@ public:
|
||||
const CString& GetTitle() const { return m_sTitle; }
|
||||
const VPair& GetParams() const { return m_vParams; }
|
||||
private:
|
||||
unsigned int m_uFlags;
|
||||
CString m_sName;
|
||||
CString m_sTitle;
|
||||
VPair m_vParams;
|
||||
unsigned int m_uFlags;
|
||||
CString m_sName;
|
||||
CString m_sTitle;
|
||||
VPair m_vParams;
|
||||
};
|
||||
|
||||
class CWebAuth : public CAuthBase {
|
||||
@@ -99,7 +99,7 @@ public:
|
||||
void Invalidate();
|
||||
private:
|
||||
protected:
|
||||
CWebSock* m_pWebSock;
|
||||
CWebSock* m_pWebSock;
|
||||
};
|
||||
|
||||
class CWebSessionMap : public TCacheMap<CString, CSmartPtr<CWebSession> > {
|
||||
@@ -166,16 +166,16 @@ public:
|
||||
private:
|
||||
EPageReqResult OnPageRequestInternal(const CString& sURI, CString& sPageRet);
|
||||
|
||||
bool m_bPathsSet;
|
||||
CTemplate m_Template;
|
||||
CSmartPtr<CAuthBase> m_spAuth;
|
||||
bool m_bPathsSet;
|
||||
CTemplate m_Template;
|
||||
CSmartPtr<CAuthBase> m_spAuth;
|
||||
CString m_sForceUser; // Gets filled by ResolveModule()
|
||||
CString m_sModName; // Gets filled by ResolveModule()
|
||||
CString m_sPath; // Gets filled by ResolveModule()
|
||||
CString m_sPage; // Gets filled by ResolveModule()
|
||||
CSmartPtr<CWebSession> m_spSession;
|
||||
CSmartPtr<CWebSession> m_spSession;
|
||||
|
||||
static CWebSessionMap m_mspSessions;
|
||||
static CWebSessionMap m_mspSessions;
|
||||
};
|
||||
|
||||
#endif // !_WEBMODULES_H
|
||||
|
||||
Reference in New Issue
Block a user