inc/musavasettings.inl
changeset 22 496ad160a278
equal deleted inserted replaced
15:ccd8e69b5392 22:496ad160a278
       
     1 /*
       
     2 * Copyright (c) 2005-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:  ECOM interface default implementation. 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MUSAVASETTING_INL
       
    20 #define MUSAVASETTING_INL
       
    21 
       
    22 #include "musavasettings.h"
       
    23 
       
    24 // -----------------------------------------------------------------------------
       
    25 // 
       
    26 // -----------------------------------------------------------------------------
       
    27 //
       
    28 inline MusSettingsKeys::TFastMode MMusAvaSettings::FastMode() const
       
    29     {
       
    30     User::Leave( KErrNotSupported );
       
    31     return MusSettingsKeys::EFastModeOff; 
       
    32     }
       
    33  
       
    34 // -----------------------------------------------------------------------------
       
    35 // 
       
    36 // -----------------------------------------------------------------------------
       
    37 //
       
    38 inline MMusAvaSettings::TManualActivation MMusAvaSettings::ManualActivation()
       
    39 	{
       
    40 	User::Leave( KErrNotSupported );
       
    41 	return MMusAvaSettings::EActivationNotExecuted;	
       
    42 	}
       
    43 // -----------------------------------------------------------------------------
       
    44 // 
       
    45 // -----------------------------------------------------------------------------
       
    46 //
       
    47 inline const TDesC& MMusAvaSettings::TelNumber() const
       
    48     {
       
    49     User::Leave( KErrNotSupported );
       
    50     
       
    51     // this line is never reached; exists only to avoid warning
       
    52     return KNullDesC();
       
    53     }    	
       
    54 
       
    55 
       
    56 // -----------------------------------------------------------------------------
       
    57 // 
       
    58 // -----------------------------------------------------------------------------
       
    59 //
       
    60 inline const TDesC& MMusAvaSettings::ContactName() const
       
    61     {
       
    62     User::Leave( KErrNotSupported );
       
    63     
       
    64     // this line is never reached; exists only to avoid warning
       
    65     return KNullDesC();
       
    66     }    	
       
    67 
       
    68 
       
    69 // -----------------------------------------------------------------------------
       
    70 // 
       
    71 // -----------------------------------------------------------------------------
       
    72 //
       
    73 inline const MDesCArray& MMusAvaSettings::SipAddresses() const
       
    74     {
       
    75     User::Leave( KErrNotSupported );
       
    76 
       
    77     // this line is never reached; exists only to avoid warning
       
    78     return ( MDesCArray& ) KErrNotSupported;
       
    79     }
       
    80 
       
    81 
       
    82 // -----------------------------------------------------------------------------
       
    83 // 
       
    84 // -----------------------------------------------------------------------------
       
    85 //
       
    86 inline const TDesC& MMusAvaSettings::SipAddressProposal() const
       
    87     {
       
    88     User::Leave( KErrNotSupported );
       
    89     
       
    90     // this line is never reached; exists only to avoid warning
       
    91     return KNullDesC();
       
    92     }
       
    93 
       
    94 // -----------------------------------------------------------------------------
       
    95 // 
       
    96 // -----------------------------------------------------------------------------
       
    97 //
       
    98 inline TInt MMusAvaSettings::ContactId() const
       
    99     {
       
   100     User::Leave( KErrNotSupported );
       
   101     
       
   102     // this line is never reached; exists only to avoid warning
       
   103     return KErrNone;
       
   104     }
       
   105 
       
   106 // -----------------------------------------------------------------------------
       
   107 // 
       
   108 // -----------------------------------------------------------------------------
       
   109 //
       
   110 inline const MDesCArray& MMusAvaSettings::VideoCodecs() const
       
   111     {
       
   112     User::Leave( KErrNotSupported );
       
   113 
       
   114     // this line is never reached; exists only to avoid warning
       
   115     return ( MDesCArray& ) KErrNotSupported;
       
   116     }
       
   117 
       
   118 // -----------------------------------------------------------------------------
       
   119 // 
       
   120 // -----------------------------------------------------------------------------
       
   121 //
       
   122 inline const MDesCArray& MMusAvaSettings::AudioCodecs() const
       
   123     {
       
   124     User::Leave( KErrNotSupported );
       
   125 
       
   126     // this line is never reached; exists only to avoid warning
       
   127     return ( MDesCArray& ) KErrNotSupported;
       
   128     }    
       
   129 
       
   130 // -----------------------------------------------------------------------------
       
   131 // 
       
   132 // -----------------------------------------------------------------------------
       
   133 //
       
   134 inline TInt MMusAvaSettings::SipProfileId() const
       
   135     {
       
   136     User::Leave( KErrNotSupported );
       
   137 
       
   138     // this line is never reached; exists only to avoid warning
       
   139     return KErrNotSupported;
       
   140     }
       
   141 
       
   142 // -----------------------------------------------------------------------------
       
   143 // 
       
   144 // -----------------------------------------------------------------------------
       
   145 //
       
   146 inline void MMusAvaSettings::SetObserver( MMusAvaSettingsObserver& /*aObserver*/ )
       
   147     {
       
   148     User::Leave( KErrNotSupported );
       
   149     }
       
   150 
       
   151 // -----------------------------------------------------------------------------
       
   152 // 
       
   153 // -----------------------------------------------------------------------------
       
   154 //
       
   155 inline MMusAvaSettingsObserver* MMusAvaSettings::Observer()
       
   156     {
       
   157     return NULL;
       
   158     }
       
   159 
       
   160 // -----------------------------------------------------------------------------
       
   161 // 
       
   162 // -----------------------------------------------------------------------------
       
   163 //
       
   164 inline void MMusAvaSettings::SetManualActivation( TManualActivation /*aManualActivation*/ )
       
   165     {
       
   166     User::Leave( KErrNotSupported );
       
   167     }
       
   168 
       
   169 
       
   170 #endif // MUSAVASETTING_INL