systemswstubs/TVOutConfig/Src/tvoutconfigimp.cpp
changeset 43 e71858845f73
parent 40 b7e5ed8c1342
child 46 e1758cbb96ac
equal deleted inserted replaced
40:b7e5ed8c1342 43:e71858845f73
     1 /*
       
     2 * Copyright (c) 2003-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:  Implements the all the virtual functions derived from 
       
    15                  CTvOutConfig  TVOutConfig Dummy Implementation.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 //- Include Files  ----------------------------------------------------------
       
    21 
       
    22 #include "tvoutconfigimp.h"
       
    23 
       
    24 //- External Data -----------------------------------------------------------
       
    25 
       
    26 //- External Function Prototypes --------------------------------------------
       
    27 
       
    28 //- Constants ---------------------------------------------------------------
       
    29 
       
    30 //- Macros ------------------------------------------------------------------
       
    31 
       
    32 //- Global and Local Variables ----------------------------------------------
       
    33 
       
    34 //- Local Function Prototypes -----------------------------------------------
       
    35 
       
    36 //- Local Functions ---------------------------------------------------------
       
    37 
       
    38 //- Member Functions --------------------------------------------------------
       
    39 
       
    40 //=============================================================================
       
    41 
       
    42 //---------------------------------------------------------------------------
       
    43 /**
       
    44     @see TvOutConfig.h
       
    45 */
       
    46 CTvOutConfigImp::CTvOutConfigImp():
       
    47         CTvOutConfig()
       
    48     {
       
    49 
       
    50     }
       
    51 
       
    52 //---------------------------------------------------------------------------
       
    53 /**
       
    54     @see TvOutConfig.h
       
    55 */
       
    56 CTvOutConfigImp::~CTvOutConfigImp()
       
    57     {
       
    58     }
       
    59 
       
    60 //---------------------------------------------------------------------------
       
    61 /**
       
    62     Dummy implementation.
       
    63 */
       
    64 void CTvOutConfigImp::ConstructL()
       
    65     {
       
    66     //This is dummy implementation. does nothing
       
    67     }
       
    68 
       
    69 //---------------------------------------------------------------------------
       
    70 /**
       
    71     @see TvOutConfig.h
       
    72 */
       
    73 TInt CTvOutConfigImp::SetConfig( const TTvSettings& /*aTvSettings*/ )
       
    74     {
       
    75     return KErrNotReady;
       
    76     }
       
    77 
       
    78 //---------------------------------------------------------------------------
       
    79 /**
       
    80     @see TvOutConfig.h
       
    81 */
       
    82 TInt CTvOutConfigImp::StandByFigureMaxSizeInBytes( TUint& /*aMaxFigureSize*/ )
       
    83     {
       
    84     return KErrNotReady;
       
    85     }
       
    86 
       
    87 //---------------------------------------------------------------------------
       
    88 /**
       
    89     @see TvOutConfig.h
       
    90 */
       
    91 TInt CTvOutConfigImp::StandByFigure( const TStandByFigure& /*aStandByFigure*/ )
       
    92     {
       
    93     return KErrNotReady;
       
    94     }
       
    95 
       
    96 //---------------------------------------------------------------------------
       
    97 /**
       
    98     @see TvOutConfig.h
       
    99 */
       
   100 TInt CTvOutConfigImp::Enable()
       
   101     {
       
   102     return KErrNotReady;
       
   103     }
       
   104 
       
   105 //---------------------------------------------------------------------------
       
   106 /**
       
   107     @see TvOutConfig.h
       
   108 */
       
   109 TInt CTvOutConfigImp::Disable()
       
   110     {
       
   111     return KErrNotReady;
       
   112     }
       
   113 
       
   114 //---------------------------------------------------------------------------
       
   115 /**
       
   116     @see TvOutConfig.h
       
   117 */
       
   118 TBool CTvOutConfigImp::Enabled()
       
   119     {
       
   120     return EFalse;
       
   121     }
       
   122 
       
   123 //---------------------------------------------------------------------------
       
   124 /**
       
   125     @see TvOutConfig.h
       
   126 */
       
   127 TInt CTvOutConfigImp::OnOffListener( TRequestStatus& /*aListenerRequest*/ )
       
   128     {
       
   129     return KErrNotReady;
       
   130     }
       
   131 
       
   132 //---------------------------------------------------------------------------
       
   133 /**
       
   134     @see TvOutConfig.h
       
   135 */
       
   136 TInt CTvOutConfigImp::OnOffListenerCancel()
       
   137     {
       
   138     return KErrNotReady;
       
   139     }
       
   140 
       
   141 //---------------------------------------------------------------------------
       
   142 /**
       
   143     @see TvOutConfig.h
       
   144 */
       
   145 TInt CTvOutConfigImp::HdmiCableListener(TRequestStatus& /*aListenerRequest*/ )
       
   146     {
       
   147     return KErrNotReady;
       
   148     }
       
   149 
       
   150 //---------------------------------------------------------------------------
       
   151 /**
       
   152     @see TvOutConfig.h
       
   153 */
       
   154 TInt CTvOutConfigImp::HdmiCableListenerCancel()
       
   155     {
       
   156     return KErrNotReady;
       
   157     }
       
   158 
       
   159 //---------------------------------------------------------------------------
       
   160 /**
       
   161     @see TvOutConfig.h
       
   162 */
       
   163 TInt CTvOutConfigImp::SetConfig( const THdmiDviTimings& /*aTvSettings*/ )
       
   164     {
       
   165     return KErrNotReady;
       
   166     }
       
   167 
       
   168 //---------------------------------------------------------------------------
       
   169 /**
       
   170     @see TvOutConfig.h
       
   171 */
       
   172 TBool CTvOutConfigImp::HdmiCableConnected()
       
   173     {
       
   174     return EFalse;
       
   175     }
       
   176 
       
   177 //---------------------------------------------------------------------------
       
   178 /**
       
   179     @see TvOutConfig.h
       
   180 */
       
   181 TInt CTvOutConfigImp::GetNumberOfHdmiModes(TUint& /*aNumberOfModes*/ )
       
   182     {
       
   183     return KErrNotReady;
       
   184     }
       
   185 
       
   186 //---------------------------------------------------------------------------
       
   187 /**
       
   188     @see TvOutConfig.h
       
   189 */
       
   190 TInt CTvOutConfigImp::GetSupportedHdmiMode(TUint /*aModeNumber*/, TSupportedHdmiDviMode& /*aReadMode*/ )
       
   191     {
       
   192     return KErrNotReady;
       
   193     }
       
   194 
       
   195 //---------------------------------------------------------------------------
       
   196 /**
       
   197     @see TvOutConfig.h
       
   198 */
       
   199 TInt CTvOutConfigImp::GetTvHwCapabilities(TTvSettings::TOutput /*aConnector*/, THwCapabilities& /*aReadCapabilities*/ )
       
   200     {
       
   201     return KErrNotReady;
       
   202     }
       
   203 
       
   204 //---------------------------------------------------------------------------
       
   205 /**
       
   206     @see TvOutConfig.h
       
   207 */
       
   208 TInt CTvOutConfigImp::GetConfig(TTvSettings& /*aTvSettings*/ )
       
   209     {
       
   210     return KErrNotReady;
       
   211     }
       
   212 
       
   213 //---------------------------------------------------------------------------
       
   214 /**
       
   215     @see TvOutConfig.h
       
   216 */
       
   217 TInt CTvOutConfigImp::GetConfig(THdmiDviTimings& /*aTvSettings*/ )
       
   218     {
       
   219     return KErrNotReady;
       
   220     }
       
   221 
       
   222 //---------------------------------------------------------------------------
       
   223 /**
       
   224     @see TvOutConfig.h
       
   225 */
       
   226 TInt CTvOutConfigImp::GetStandByFigure(TStandByFigure& /*aStandByFigure*/ )
       
   227     {
       
   228     return KErrNotReady;
       
   229     }
       
   230 
       
   231 //---------------------------------------------------------------------------
       
   232 /**
       
   233     @see TvOutConfig.h
       
   234 */
       
   235 TInt CTvOutConfigImp::SetAvailableTvConfigList(const RArray<TTvSettings>& /*aAnalogConfigs*/, const RArray<THdmiDviTimings>& /*aHdmiConfigs*/)
       
   236     {
       
   237     return KErrNotReady;
       
   238     }
       
   239 
       
   240 //---------------------------------------------------------------------------
       
   241 /**
       
   242     @see TvOutConfig.h
       
   243  */
       
   244 TInt CTvOutConfigImp::GetAvailableTvConfigList( RArray<TTvSettings>& /*aAnalogConfigs*/, RArray<THdmiDviTimings>& /*aHdmiConfigs*/ )
       
   245     {
       
   246     return KErrNotReady;
       
   247     }
       
   248 
       
   249 //---------------------------------------------------------------------------
       
   250 /**
       
   251     @see TvOutConfig.h
       
   252 */
       
   253 TInt CTvOutConfigImp::AvailableTvConfigListListener(TRequestStatus& /*aListenerRequest*/)
       
   254     {
       
   255     return KErrNotReady;
       
   256     }
       
   257 
       
   258 //---------------------------------------------------------------------------
       
   259 /**
       
   260     @see TvOutConfig.h
       
   261 */
       
   262 TInt CTvOutConfigImp::AvailableTvConfigListListenerCancel()
       
   263     {
       
   264     return KErrNotReady;
       
   265     }
       
   266 
       
   267 //---------------------------------------------------------------------------
       
   268 /**
       
   269     @see TvOutConfig.h
       
   270 */
       
   271 TInt CTvOutConfigImp::SettingsChangedListener(TRequestStatus& /*aListenerRequest*/)
       
   272     {
       
   273     return KErrNotReady;
       
   274     }
       
   275 
       
   276 //---------------------------------------------------------------------------
       
   277 /**
       
   278     @see TvOutConfig.h
       
   279 */
       
   280 TInt CTvOutConfigImp::SettingsChangedListenerCancel()
       
   281     {
       
   282     return KErrNotReady;
       
   283     }
       
   284 
       
   285 //---------------------------------------------------------------------------
       
   286 /**
       
   287     @see TvOutConfig.h
       
   288 */
       
   289 TInt CTvOutConfigImp::CopyProtection( TBool /*aCopyProtectEnabled*/ )
       
   290     {
       
   291     return KErrNotReady;
       
   292     }
       
   293 
       
   294 //---------------------------------------------------------------------------
       
   295 /**
       
   296     @see TvOutConfig.h
       
   297 */
       
   298 TBool CTvOutConfigImp::CopyProtectionStatus()
       
   299     {
       
   300     return EFalse;
       
   301     }
       
   302 
       
   303 //---------------------------------------------------------------------------
       
   304 /**
       
   305     @see TvOutConfig.h
       
   306 */
       
   307 TInt CTvOutConfigImp::CopyProtectionStatusCancel()
       
   308     {
       
   309     return KErrNotReady;
       
   310     }
       
   311 
       
   312 //---------------------------------------------------------------------------
       
   313 /**
       
   314     @see TvOutConfig.h
       
   315 */
       
   316 TInt CTvOutConfigImp::CopyProtectionStatusListener( TRequestStatus& /*aListenerRequest*/ )
       
   317     {
       
   318     return KErrNotReady;
       
   319     }
       
   320 
       
   321 // End of File