author | Tom Pritchard <tomp@symbian.org> |
Tue, 09 Feb 2010 12:31:43 +0000 | |
branch | AT_Test_LTSY |
changeset 1 | 4047d69ee0e4 |
permissions | -rw-r--r-- |
1
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1 |
// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
2 |
// All rights reserved. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
3 |
// This component and the accompanying materials are made available |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
4 |
// under the terms of "Eclipse Public License v1.0" |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
5 |
// which accompanies this distribution, and is available |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html". |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
7 |
// |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
8 |
// Initial Contributors: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
9 |
// Nokia Corporation - initial contribution. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
10 |
// |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
11 |
// Contributors: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
12 |
// |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
13 |
// Description: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
14 |
// CLtsyCallControlMultipartyHandler |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
15 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
16 |
#ifndef __CLTSYDISPATCHCALLCONTROLMULTIPARTYHANDLER_H_ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
17 |
#define __CLTSYDISPATCHCALLCONTROLMULTIPARTYHANDLER_H_ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
18 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
19 |
// INCLUDES |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
20 |
#include <e32std.h> |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
21 |
#include <e32base.h> |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
22 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
23 |
#include <ctsy/ltsy/mltsydispatchinterface.h> |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
24 |
#include <ctsy/ltsy/mltsydispatchcallcontrolmultipartyinterface.h> |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
25 |
#include "misdispatchinterfacesupported.h" |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
26 |
#include "ltsymacros.h" |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
27 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
28 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
29 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
30 |
// FORWARD DECLARATIONS |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
31 |
class CCtsyDispatcherCallback; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
32 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
33 |
// Can be removed in real LTSY implementation |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
34 |
MTEST_FORWARD_DECLARE_MOCKLTSYENGINE |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
35 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
36 |
// CLASS DECLARATION |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
37 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
38 |
/** |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
39 |
* Implements interfaces from the CTSY Dispatcher. The CTSY Dispatcher uses these |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
40 |
* interfaces to make requests to the Licensee LTSY. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
41 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
42 |
class CLtsyCallControlMultipartyHandler : public CBase, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
43 |
public MIsDispatchInterfaceSupported, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
44 |
public MLtsyDispatchCallControlMultipartyConferenceHangUp, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
45 |
public MLtsyDispatchCallControlMultipartyConferenceAddCall, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
46 |
public MLtsyDispatchCallControlMultipartyCreateConference, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
47 |
public MLtsyDispatchCallControlMultipartyConferenceSwap, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
48 |
public MLtsyDispatchCallControlMultipartyConferenceGoOneToOne |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
49 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
50 |
public: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
51 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
52 |
virtual ~CLtsyCallControlMultipartyHandler(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
53 |
static CLtsyCallControlMultipartyHandler* NewL(CCtsyDispatcherCallback& aCtsyDispatcherCallback); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
54 |
static CLtsyCallControlMultipartyHandler* NewLC(CCtsyDispatcherCallback& aCtsyDispatcherCallback); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
55 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
56 |
// From MIsDispatchInterfaceSupported |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
57 |
virtual TBool IsInterfaceSupported(TLtsyDispatchInterfaceApiId aDispatchApiId); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
58 |
void IsCallbackIndicatorSupported(TLtsyDispatchIndIdGroup aIdGroup, TUint32& aIndIdBitMask); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
59 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
60 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
61 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
62 |
// From MLtsyDispatchCallControlMultipartyConferenceHangUp |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
63 |
virtual TInt HandleConferenceHangUpReqL(const RArray<TInt>& aCallIds); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
64 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
65 |
// From MLtsyDispatchCallControlMultipartyConferenceAddCall |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
66 |
virtual TInt HandleConferenceAddCallReqL(TInt aCallId, TInt aExistingCallId); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
67 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
68 |
// From MLtsyDispatchCallControlMultipartyCreateConference |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
69 |
virtual TInt HandleCreateConferenceReqL(TInt aHeldCallId, TInt aSecondCallId); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
70 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
71 |
// From MLtsyDispatchCallControlMultipartyConferenceSwap |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
72 |
virtual TInt HandleConferenceSwapReqL(TInt aHeldCallId, TInt aConnectedCallId); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
73 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
74 |
// From MLtsyDispatchCallControlMultipartyConferenceGoOneToOne |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
75 |
virtual TInt HandleConferenceGoOneToOneReqL(TInt aCallId); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
76 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
77 |
private: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
78 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
79 |
CLtsyCallControlMultipartyHandler(CCtsyDispatcherCallback& aCtsyDispatcherCallback); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
80 |
void ConstructL(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
81 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
82 |
private: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
83 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
84 |
// Not owned |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
85 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
86 |
/** |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
87 |
* Callback object in the CTSY Dispatcher. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
88 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
89 |
* Used to complete a request back to the CTSY Dispatcher. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
90 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
91 |
CCtsyDispatcherCallback& iCtsyDispatcherCallback; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
92 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
93 |
public: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
94 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
95 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
96 |
}; // class CLtsyCallControlMultipartyHandler |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
97 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
98 |
#endif // __CLTSYDISPATCHCALLCONTROLMULTIPARTYHANDLER_H_ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
99 |