|
1 /* |
|
2 * Copyright (c) 2005 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 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef MUSENGOUTSESSIONOBSERVER_H |
|
20 #define MUSENGOUTSESSIONOBSERVER_H |
|
21 |
|
22 // INCLUDES |
|
23 |
|
24 // CLASS DECLARATION |
|
25 |
|
26 /** |
|
27 * An interface to be implemented by users of Multimedia Sharing Engine if they |
|
28 * wish to receive feedback from outsent INVITE. All the callback functions |
|
29 * represent an answer from network to sent INVITE. |
|
30 */ |
|
31 class MMusEngOutSessionObserver |
|
32 { |
|
33 public: |
|
34 |
|
35 /** |
|
36 * Indicates that MT has rejected session. ( e.g. 603 DECLINE ). |
|
37 */ |
|
38 virtual void SessionRejected() = 0; |
|
39 |
|
40 /** |
|
41 * The following functions represent a specific reason in answer |
|
42 * to sent INVITE. |
|
43 */ |
|
44 |
|
45 virtual void SessionBadRequest() = 0; // 400 |
|
46 virtual void SessionUnauthorized() = 0; // 401 |
|
47 virtual void SessionPaymentRequired() = 0; // 402 |
|
48 virtual void SessionRecipientNotFound() = 0; // 404 |
|
49 virtual void SessionProxyAuthenticationRequired() = 0; // 407 |
|
50 virtual void SessionRequestTimeOut() = 0; // 408 |
|
51 virtual void SessionUnsupportedMediaType() = 0; // 415 |
|
52 virtual void SessionBusyHere() = 0; // 486 |
|
53 virtual void SessionRequestCancelled() = 0; // 487 |
|
54 virtual void SessionTemporarilyNotAvailable() = 0; // 480 |
|
55 }; |
|
56 |
|
57 #endif |