/usr/include/sipxtapi/ptapi/PtComponentGroupCapabilities.h is in libsipxtapi-dev 3.3.0~test17-2.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | //
// Copyright (C) 2004-2006 SIPfoundry Inc.
// Licensed by SIPfoundry under the LGPL license.
//
// Copyright (C) 2004-2006 Pingtel Corp. All rights reserved.
// Licensed to SIPfoundry under a Contributor Agreement.
//
// $$
///////////////////////////////////////////////////////////////////////////////
#ifndef _PtComponentGroupCapabilities_h_
#define _PtComponentGroupCapabilities_h_
// SYSTEM INCLUDES
// APPLICATION INCLUDES
#include "os/OsDefs.h"
// DEFINES
// MACROS
// EXTERNAL FUNCTIONS
// EXTERNAL VARIABLES
// CONSTANTS
// STRUCTS
// TYPEDEFS
// FORWARD DECLARATIONS
class 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_
|