|
1 /* |
|
2 * Copyright (c) 2006 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: ?Description |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef MUSMANAGERCOMMON_H |
|
21 #define MUSMANAGERCOMMON_H |
|
22 |
|
23 #include <e32std.h> |
|
24 |
|
25 /** |
|
26 * A namespace container for MultimediaSharing enumerations. |
|
27 */ |
|
28 namespace MultimediaSharing |
|
29 { |
|
30 /** Contains the possible values for availability status. */ |
|
31 enum TMusAvailabilityStatus |
|
32 { |
|
33 // OK STATES |
|
34 ESipRegistrationPending = 1, // SIP registration pending |
|
35 ESipOptionsSent, |
|
36 ESipOptionsNotSent, // |
|
37 EMultimediaSharingAvailable, |
|
38 EManualActivation, |
|
39 ESipOptionsNotCapable, |
|
40 |
|
41 // ERROR STATES |
|
42 EErrServerShutDown = 100, // MUS Manager is Shut Down |
|
43 EMultimediaSharingNotAvailable, |
|
44 EErrSipRegistration, // SIP registration failed / not done |
|
45 EErrNoActiveCall, // no active call ongoing |
|
46 EErrCallOnHold, // CS call in hold |
|
47 EErrConferenceCall, // conf call ongoing |
|
48 EErrRoaming, // we're roaming, but this app not allowed when so |
|
49 EErrNetwork, // network is of wrong type |
|
50 EErrConnection, // PDP connection error |
|
51 EErrActivation, // Activation is not allowed |
|
52 EMultimediaFailureCode, // Start up forbiden |
|
53 // FATAL ERROR STATES |
|
54 EErrNoSipProfile = 1000 // no SIP profile; do not show MS menu options! |
|
55 }; |
|
56 |
|
57 /** Contains the possible use cases of MultimediaSharing. */ |
|
58 enum TMusUseCase |
|
59 { |
|
60 EMusLiveVideo, // live sharing from camera |
|
61 EMusClipVideo, // video clip sharing |
|
62 EMusStillImage, // still image sharing |
|
63 EMusReceive, // receive video |
|
64 EMusContinue, // continue running the existing application |
|
65 EMusTwoWayVideo, // two-way sharing |
|
66 EMusReceiveTwoWayVideo // two-way receive video |
|
67 }; |
|
68 /** Contains the possible commands of MultimediaSharing. */ |
|
69 enum TCommandType |
|
70 { |
|
71 ECommandNotDefined, |
|
72 ECommandManualActivation |
|
73 }; |
|
74 } |
|
75 |
|
76 #endif // MUSMANAGERCOMMON_H |
|
77 |
|
78 // End of File |