inc/muscommon.h
changeset 22 496ad160a278
equal deleted inserted replaced
15:ccd8e69b5392 22:496ad160a278
       
     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 MUSCOMMON_H
       
    21 #define MUSCOMMON_H
       
    22 
       
    23 #include <e32std.h>
       
    24 #include <e32cmn.h>
       
    25 
       
    26 namespace Mus
       
    27     {
       
    28     // sip uids for client resolver cooperation
       
    29     // for invitations
       
    30     const TUid KAllowedSipInvite = { 0x1002000 };
       
    31     const TUid KNotAllowedSipInvite = { 0x1002001 };
       
    32         
       
    33     // for options
       
    34     const TUid KSipOptions = { 0x1002002 };
       
    35     
       
    36     // resource availability
       
    37     enum TMusResourceAvailability
       
    38         {
       
    39         EMusAvailable,          // resource available
       
    40         EMusNotAvailable        // resource not available
       
    41         };
       
    42     
       
    43     // multimediasharing environmental error codes
       
    44     enum TMusError
       
    45         {
       
    46         ENoActiveCall = 1,      // no active call -> sharing not possible, error
       
    47         EConferenceCall,        // current call is a conf call -> error
       
    48         ECallInHold,            // current call is on hold -> error
       
    49         ENoNetwork,             // there's no packet network -> error
       
    50         ERoamingNetwork,        // sharing not allowed when roaming -> error
       
    51         ENoSipProfile,          // there's no sip profile -> error
       
    52         ESipRegistrationFailed, // sip registration failed -> error
       
    53         ESipOptionsFailed       // sip options revealed that the remote host is 
       
    54                                 // not capable of video sharing -> error
       
    55         };
       
    56     
       
    57     // values for application startup behavior (have same effect as command
       
    58     // enumerations of CApaCommandLine)
       
    59     const TUint KMusCommandLetterRun = 'R';
       
    60     const TUint KMusCommandLetterBackground = 'B';
       
    61     
       
    62     }
       
    63 
       
    64 #endif // MUSMANAGERCOMMON_H
       
    65 
       
    66 // End of File