📄 ptcomponentgroupcapabilities.h
字号:
//// Copyright (C) 2004, 2005 Pingtel Corp.// //// $$//////////////////////////////////////////////////////////////////////////////#ifndef _PtComponentGroupCapabilities_h_#define _PtComponentGroupCapabilities_h_// SYSTEM INCLUDES// APPLICATION INCLUDES#include "os/OsDefs.h"// DEFINES// MACROS// EXTERNAL FUNCTIONS// EXTERNAL VARIABLES// CONSTANTS// STRUCTS// TYPEDEFS// FORWARD DECLARATIONSclass PtAddress;//:The PtComponentGroupCapabilities interface represents the capabilities for the PtComponentGroup.class PtComponentGroupCapabilities{/* //////////////////////////// PUBLIC //////////////////////////////////// */public:/* ============================ CREATORS ================================== */ PtComponentGroupCapabilities(); //:Default constructor PtComponentGroupCapabilities(const PtComponentGroupCapabilities& rPtComponentGroupCapabilities); //:Copy constructor virtual ~PtComponentGroupCapabilities(); //:Destructor/* ============================ MANIPULATORS ============================== */ PtComponentGroupCapabilities& operator=(const PtComponentGroupCapabilities& rhs); //:Assignment operator/* ============================ ACCESSORS ================================= *//* ============================ INQUIRY =================================== */ UtlBoolean canActivate(); //:Returns true if the ComponentGroup can be "activated" on the Terminal that the // ComponentGroup is associated with. For example, activation of a headset on a // certain Terminal allows media to flow between the headset and the telephone line // associated with the terminal for all calls on the line . This method allows the // application to determine if activation of the ComponentGroup on its Terminal is // supported. //!retcode: True if the component group can be activated on its Terminal, //!retcode: false otherwise. UtlBoolean canActivate(PtAddress address); //:Returns true if the ComponentGroup can be "activated" on the specified Address at // the Terminal that the ComponentGroup is associated with. For example, activation // of a headset on a certain Address at a Terminal allows media to flow between the // headset and the telephone line associated with the Terminal for all calls on the // specified Address. This method allows the application to determine if activation of // the ComponentGroup on a specific Address at a Terminal is supported. //!param: address - test if feature available for this address //!retcode: True if the component group can be activated on its Terminal at the specified Address, //!retcode: false otherwise./* //////////////////////////// PROTECTED ///////////////////////////////// */protected:/* //////////////////////////// PRIVATE /////////////////////////////////// */private:};/* ============================ INLINE METHODS ============================ */#endif // _PtComponentGroupCapabilities_h_
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -