/usr/include/sipxtapi/ptapi/PtCallEvent.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 | //
// 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 _PtCallEvent_h_
#define _PtCallEvent_h_
// SYSTEM INCLUDES
// APPLICATION INCLUDES
#include <ptapi/PtEvent.h>
// DEFINES
// MACROS
// EXTERNAL FUNCTIONS
// EXTERNAL VARIABLES
// CONSTANTS
// STRUCTS
// TYPEDEFS
// FORWARD DECLARATIONS
class PtCall;
class TaoClientTask;
//:PtCallEvent contains PtCall-associated event data
class PtCallEvent : public PtEvent
{
/* //////////////////////////// PUBLIC //////////////////////////////////// */
public:
PT_CLASS_INFO_MEMBERS
/* ============================ CREATORS ================================== */
PtCallEvent(PtEvent::PtEventId eventId = EVENT_INVALID);
//:Default constructor
PtCallEvent(PtEventId eventId,
int metaCode,
const char* callId,
TaoClientTask *pClient,
int sipResponseCode,
const char* sipResponseText,
const char* newCallId = 0,
const char** oldCallIds = 0,
int numOldCalls = 0);
//: Constructor.
PtCallEvent(TaoClientTask *pClient);
//: Constructor.
PtCallEvent(const PtCallEvent& rPtCallEvent);
//:Copy constructor
virtual
~PtCallEvent();
//:Destructor
/* ============================ MANIPULATORS ============================== */
PtCallEvent& operator=(const PtCallEvent& rhs);
//:Assignment operator
/* ============================ ACCESSORS ================================= */
PtStatus getCall(PtCall& rCall) const;
//:Returns the call object associated with this event.
//!param: (out) rCall - The reference used to return the call pointer
//!retcode: PT_SUCCESS - Success
//!retcode: PT_PROVIDER_UNAVAILABLE - The provider is not available
static const char* className();
//:Returns the name of this class.
//!returns: Returns the string representation of the name of this class
/* ============================ INQUIRY =================================== */
virtual PtBoolean isClass(const char* pClassName);
//:Determines if this object if of the specified type.
//!param: (in) pClassName - the string to compare with the name of this class.
//!retcode: TRUE - if the given string contains the class name of this class.
//!retcode: FALSE - if the given string does not match that of this class
virtual PtBoolean isInstanceOf(const char* pClassName);
//:Determines if this object is either an instance of or is derived from
//:the specified type.
//!param: (in) pClassName - the string to compare with the name of this class.
//!retcode: TRUE - if this object is either an instance of or is derived from the specified class.
//!retcode: FALSE - if this object is not an instance of the specified class.
/* //////////////////////////// PROTECTED ///////////////////////////////// */
/* //////////////////////////// PRIVATE /////////////////////////////////// */
private:
};
/* ============================ INLINE METHODS ============================ */
#endif // _PtCallEvent_h_
|