|
1 /* |
|
2 * Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * Name : sipdialogterminated.h |
|
16 * Part of : SIPAPI |
|
17 * Interface : |
|
18 * Version : |
|
19 * |
|
20 */ |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 /** |
|
26 @internalComponent |
|
27 */ |
|
28 |
|
29 #ifndef CDIALOGTERMINATED_H |
|
30 #define CDIALOGTERMINATED_H |
|
31 |
|
32 // INCLUDES |
|
33 #include "sipdialogstate.h" |
|
34 |
|
35 // FORWARD DECLARATIONS |
|
36 |
|
37 // CLASS DECLARATION |
|
38 |
|
39 class CDialogTerminated : public CDialogState |
|
40 { |
|
41 public: |
|
42 static CDialogTerminated* NewL(); |
|
43 ~CDialogTerminated(); |
|
44 |
|
45 CSIPDialog::TState State() const; |
|
46 |
|
47 |
|
48 //Possible events in this state |
|
49 |
|
50 TBool IncomingResponseL(CSIPDialogImplementation& aDialog, |
|
51 CSIPResponseElements* aElements, |
|
52 TUint32 aRequestId, |
|
53 TUint32 aDialogId, |
|
54 CConnectionCallback& aCallback) const; |
|
55 |
|
56 TBool IncomingResponseL(CSIPDialogImplementation& aDialog, |
|
57 CSIPResponseElements* aElements, |
|
58 TUint32 aRequestId, |
|
59 TUint32 aRefreshId, |
|
60 TUint32 aDialogId, |
|
61 CConnectionCallback& aCallback) const; |
|
62 |
|
63 TBool ErrorOccured(CSIPDialogImplementation& aDialog, |
|
64 TInt aError, |
|
65 TUint32 aRequestId, |
|
66 CConnectionCallback& aCallback) const; |
|
67 |
|
68 TBool ErrorOccured(CSIPDialogImplementation& aDialog, |
|
69 TInt aError, |
|
70 TUint32 aRefreshId, |
|
71 TUint32 aRequestId, |
|
72 CConnectionCallback& aCallback) const; |
|
73 |
|
74 void ConnectionLost(CSIPDialogImplementation& aDialog) const; |
|
75 |
|
76 protected: |
|
77 CDialogTerminated(); |
|
78 }; |
|
79 |
|
80 #endif |