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