You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.2 KiB
55 lines
1.2 KiB
/*
|
|
* privlist.h
|
|
*
|
|
* Copyright (c) 1993 by DataBeam Corporation, Lexington, KY
|
|
*
|
|
* Abstract:
|
|
* This is the header file for the class PrivilegeListData.
|
|
*
|
|
* Caveats:
|
|
* None.
|
|
*
|
|
* Author:
|
|
* blp/jbo
|
|
*/
|
|
#ifndef _PRIVILEGE_LIST_DATA_
|
|
#define _PRIVILEGE_LIST_DATA_
|
|
|
|
|
|
typedef enum
|
|
{
|
|
TERMINATE_PRIVILEGE,
|
|
EJECT_USER_PRIVILEGE,
|
|
ADD_PRIVILEGE,
|
|
LOCK_UNLOCK_PRIVILEGE,
|
|
TRANSFER_PRIVILEGE
|
|
} ConferencePrivilegeType;
|
|
typedef ConferencePrivilegeType * PConferencePrivilegeType;
|
|
|
|
|
|
class PrivilegeListData;
|
|
typedef PrivilegeListData * PPrivilegeListData;
|
|
|
|
|
|
class PrivilegeListData
|
|
{
|
|
public:
|
|
|
|
PrivilegeListData(PGCCConferencePrivileges);
|
|
PrivilegeListData(PSetOfPrivileges);
|
|
~PrivilegeListData(void);
|
|
|
|
PGCCConferencePrivileges GetPrivilegeListData(void) { return &Privilege_List; }
|
|
void GetPrivilegeListData(PGCCConferencePrivileges *pp) { *pp = &Privilege_List; }
|
|
|
|
GCCError GetPrivilegeListPDU(PSetOfPrivileges *);
|
|
void FreePrivilegeListPDU(PSetOfPrivileges);
|
|
BOOL IsPrivilegeAvailable(ConferencePrivilegeType);
|
|
|
|
protected:
|
|
|
|
GCCConferencePrivileges Privilege_List;
|
|
BOOL Privilege_List_Free_Flag;
|
|
};
|
|
typedef PrivilegeListData * PPrivilegeListData;
|
|
#endif
|