/usr/include/sipxtapi/ptapi/PtMultiCallEvent.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 | //
// 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 _PtMultiCallEvent_h_
#define _PtMultiCallEvent_h_
// SYSTEM INCLUDES
// APPLICATION INCLUDES
// DEFINES
// MACROS
// EXTERNAL FUNCTIONS
// EXTERNAL VARIABLES
// CONSTANTS
// STRUCTS
// TYPEDEFS
// FORWARD DECLARATIONS
//:PtMultiCallEvent contains PtCall-associated event data,
//:where multiple calls are involved.
// MultiCall events are typically merges of multiple calls into a single call.
// The original set of calls may be retrieved via the getOldCalls method. The
// new call that is generated, or the resulting merged call, may be retrieved
// via the inherited getCall method.
class PtMultiCallEvent : public PtCallEvent
{
/* //////////////////////////// PUBLIC //////////////////////////////////// */
public:
/* ============================ CREATORS ================================== */
PtMultiCallEvent(const PtMultiCallEvent& rPtMultiCallEvent);
//:Copy constructor
virtual
~PtMultiCallEvent();
//:Destructor
/* ============================ MANIPULATORS ============================== */
PtMultiCallEvent& operator=(const PtMultiCallEvent& rhs);
//:Assignment operator
/* ============================ ACCESSORS ================================= */
PtStatus getOldCalls(PtCall*[] calls, int size, int& nItems);
//:Returns an array of pointers to PtCall objects that are involved
//:with this multicall event.
// The caller provides an array that can hold up to <i>size</i>
// PtCall pointers. This method will fill in the <i>calls</i> array with
// up to <i>size</i> pointers. The actual number of pointers filled in
// is passed back via the <i>nItems</i> argument.
//!param: (out) calls - The array of PtCall pointers
//!param: (in) size - The number of elements in the <i>calls</i> array
//!param: (out) nItems - The number of items assigned
//!retcode: PT_SUCCESS - Success
//!retcode: PT_MORE_DATA - There are more than <i>size</i> calls
//!retcode: PT_PROVIDER_UNAVAILABLE - The provider is not available
PtStatus numOldCalls(int& count);
//:Returns the number of calls involved with this multicall event.
//!param: (out) count - The number of calls
//!retcode: PT_SUCCESS - Success
//!retcode: PT_PROVIDER_UNAVAILABLE - The provider is not available
/* ============================ INQUIRY =================================== */
/* //////////////////////////// PROTECTED ///////////////////////////////// */
protected:
/* //////////////////////////// PRIVATE /////////////////////////////////// */
private:
PtMultiCallEvent();
//:Default constructor
};
/* ============================ INLINE METHODS ============================ */
#endif // _PtMultiCallEvent_h_
|