#pragma once
|
#include "stdafx.h"
|
#include "MBAuthApp.h"
|
|
/************************************************************************/
|
/* Ó¦ÓÃÐÅÏ¢¹ÜÀíÆ÷ */
|
/************************************************************************/
|
class AFX_EXT_CLASS CMBAuthInfo
|
: public CMBAbstBaseObj
|
{
|
DECLARE_DYNAMIC(CMBAuthInfo)
|
public:
|
CMBAuthInfo(void);
|
~CMBAuthInfo(void);
|
protected:
|
CStringArray m_arDisableApp;
|
CMBAuthAppMap m_map;
|
CMBAuthAppVector m_vector;
|
protected:
|
void Abst(){};
|
public:
|
bool Add( CMBAuthApp *pApp ); // Ìí¼ÓÊý¾Ý
|
bool Has(CString strFlag); // ²éÕÒÊý¾Ý
|
bool RemoveAll(); // ÒÆ³ý
|
public:
|
void SetDisableApp( CString strDisableApp );
|
bool IsDisableApp(CString strApp);
|
public:
|
void GetUIAuth(CString &strHeadGroupUI,CString &strTailGroupUI,CStringArray &arTabUI); // »ñÈ¡ÊÚȨ
|
void GetUIOffline(CString &strHeadGroupUI,CString &strTailGroupUI,CStringArray &arTabUI); // »ñÈ¡ÀëÏß½çÃæ
|
public:
|
bool HasDocAuth(); // ÓÐÎĵµÊÚȨ
|
bool HasAmAuth(); // ÓÐAmÊÚȨ
|
bool HasMobox(); // ÓÐmoboxÊÚȨ
|
bool HasGungho(); // ÓÐgunghoÊÚȨ
|
};
|
|