使用soui开发的mbc,只支持windows版本
w1146869587
2022-01-24 0408576e9da10015ffa9da0079b8c985113ce4b3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#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ÊÚȨ
};