This file is indexed.

/usr/include/sipxtapi/ptapi/PtCallCapabilities.h is in libsipxtapi-dev 3.3.0~test17-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
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
//
// 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 _PtCallCapabilities_h_
#define _PtCallCapabilities_h_

// SYSTEM INCLUDES

// APPLICATION INCLUDES
#include "os/OsDefs.h"

// DEFINES
// MACROS
// EXTERNAL FUNCTIONS
// EXTERNAL VARIABLES
// CONSTANTS
// STRUCTS
// TYPEDEFS
// FORWARD DECLARATIONS
class PtCall;
class PtTerminalConnection;

//:The PtCallCapabilities object represents the initial capabilities interface for the PtCall.
// This object supports basic queries for the core classes.
// <p>
// Applications obtain the static PtCall capabilities via the PtProvider.getCallCapabilities()
// method, and the dynamic capabilities via the PtCall.getCapabilities() method. This Class
// is used to represent both static and dynamic capabilities.
// <p>
// Any object which extends the PtCall class should also extend this class to provide additional
// capability queries for that particular package.
// <p>

class PtCallCapabilities
{
/* //////////////////////////// PUBLIC //////////////////////////////////// */
public:

/* ============================ CREATORS ================================== */

   PtCallCapabilities();
     //:Default constructor

   PtCallCapabilities(const PtCallCapabilities& rPtCallCapabilities);
     //:Copy constructor

   virtual
   ~PtCallCapabilities();
     //:Destructor

/* ============================ MANIPULATORS ============================== */

   PtCallCapabilities& operator=(const PtCallCapabilities& rhs);
     //:Assignment operator

/* ============================ ACCESSORS ================================= */

/* ============================ INQUIRY =================================== */

        UtlBoolean canConnect();
     //:Returns true if the application can invoke Call.connect(), false otherwise.
     //!retcode: True if the application can perform a connect
         //!retcode: false otherwise.



        UtlBoolean isObservable();
     //:Returns true if this Call can be observed, false otherwise.
     //!retcode: True if this Call can be observed
         //!retcode: false otherwise.


        UtlBoolean canDrop();
     //:Returns true if the application can invoke the drop feature, false otherwise.
     //!retcode: True if the application can invoke the drop feature
         //!retcode: false otherwise.




        UtlBoolean canOffHook();
     //:Returns true if the application can invoke the off hook feature, false otherwise.
     //!retcode: true if the application can invoke the off hook feature
         //!retcode: false otherwise.



        UtlBoolean canSetConferenceController();
     //:Returns true if the application can set the conference controller, false otherwise.
     //!retcode: true if the application can set the conference controller
         //!retcode: false otherwise.



        UtlBoolean canSetTransferController();
     //:Returns true if the application can set the transfer controller, false otherwise.
     //!retcode: true if the application can set the transfer controller
         //!retcode: false otherwise.



        UtlBoolean canSetTransferEnable();
     //:Returns true if the application can invoke the set transferring enabling feature, false
     // otherwise. The value returned by this method is independent of the ability of the application
     // to invoke the transfer feature.
         // <p>
     // Applications are not required to inform the implementation of the purpose of the
     // consultation call and may rely upon the default value returned by the
     // CallControlCall.getTransferEnable() method.
     //!retcode: True if the application can invoke the set transferring enabling feature,
         //!retcode: false otherwise.



        UtlBoolean canSetConferenceEnable();
     //:Returns true if the application can invoke the set conferencing enabling feature, false
     // otherwise. The value returned by this method is independent of the ability of the application
     // to invoke the conference feature.
         // <p>
     // Applications are not required to inform the implementation of the purpose of the
     // consultation call and may rely upon the default value returned by the
     // CallControlCall.getConferenceEnable() method.
     //!retcode: True if the application can invoke the set conferencing enabling feature,
         //!retcode: false otherwise.



        UtlBoolean canTransfer(PtCall call);
     //:Returns true if the application can invoke the overloaded transfer feature which takes a Call
     // as an argument, false otherwise.
         // <p>
     // The argument provided is for typing purposes only. The particular instance of the object
     // given is ignored and not used to determine the capability outcome is any way.
         // <p>
     //!param: (in) call - This argument is used for typing information to determine the overloaded version of the transfer() method.
     //!retcode: True if the application can invoke the transfer feature which takes a Call as an argument,
         //!retcode: false otherwise.



        UtlBoolean canTransfer(UtlString destination);
     //:Returns true if the application can invoke the overloaded transfer feature which takes a
     // destination string as an argument, false otherwise.
         // <p>
     // The argument provided is for typing purposes only. The particular instance of the object
     // given is ignored and not used to determine the capability outcome is any way.
         // <p>
     //!param: (in) destination - This argument is used for typing information to determine the overloaded version of the transfer() method.
     //!retcode: True if the application can invoke the transfer feature which takes a destination string as an argument,
                  //!retcode: false otherwise.


        UtlBoolean canConference();
     //:Returns true if the application can invoke the conference feature, false otherwise.
     //!retcode: True if the application can invoke the conference feature,
         //!retcode: false otherwise.



        UtlBoolean canAddParty();
     //:Returns true if the application can invoke the add party feature, false otherwise.
     //!retcode: True if the application can invoke the add party feature,
         //!retcode: false otherwise.



        UtlBoolean canConsult(PtTerminalConnection tc, UtlString destination);
     //:Returns true if the application can invoke the overloaded consult feature which takes a
     // TerminalConnection and string as arguments, false otherwise.
         // <p>
     // The arguments provided are for typing purposes only. The particular instances of the
     // objects given are ignored and not used to determine the capability outcome is any way.
     //!param: (in) tc - This argument is used for typing information to determine the overloaded version of the consult() method.
     //!param: (in) destination - This argument is used for typing information to destination the overloaded version of the consult() method.
     //!retcode: True if the application can invoke the consult feature which takes a PtTerminalConnection and a string as arguments.
     //!retcode: false otherwise



        UtlBoolean canConsult(PtTerminalConnection tc);
     //:Returns true if the application can invoke the overloaded consult feature which takes a
     // TerminalConnection as an argument, false otherwise.
         // <p>
     // The arguments provided are for typing purposes only. The particular instances of the
     // objects given are ignored and not used to determine the capability outcome is any way.
         //!param: (in) tc - This argument is used for typing information to determine the overloaded version of the consult() method.
     //!retcode: True if the application can invoke the consult feature which takes a PtTerminalConnection as an argument.
     //!retcode: false otherwise.

/* //////////////////////////// PROTECTED ///////////////////////////////// */
protected:

/* //////////////////////////// PRIVATE /////////////////////////////////// */
private:

};

/* ============================ INLINE METHODS ============================ */

#endif  // _PtCallCapabilities_h_