fotaapplication/fotaserver/fotacustcmds/src/fotacustcmdsfactory.cpp
changeset 50 a36219ae6585
parent 49 689a71addb96
child 51 2e64dc50f295
equal deleted inserted replaced
49:689a71addb96 50:a36219ae6585
     1 /*
       
     2 * Copyright (c) 2009 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:
       
    15 * Implementation of FotaCustCmdsFactory class.
       
    16 *
       
    17 */
       
    18 
       
    19 #include "fotacustcmdsfactory.h"
       
    20 #include "fotacustcmdallreasons.h"
       
    21 #include "fotacustcmdfirmwareupdate.h"
       
    22 #include "fotacustcmdfirstboot.h"
       
    23 #include "fotastartupDebug.h"
       
    24 //#include "trace.h"
       
    25 
       
    26 // ======== MEMBER FUNCTIONS ========
       
    27 
       
    28 // ---------------------------------------------------------------------------
       
    29 // FotaCustCmdsFactory::FotaCustCmdAllReasonsNewL
       
    30 // ---------------------------------------------------------------------------
       
    31 //
       
    32 EXPORT_C MSsmCustomCommand* FotaCustCmdsFactory::FotaCustCmdAllReasonsNewL()
       
    33     {
       
    34    FLOG( _L( "[FotaCustCmdsFactory::FotaCustCmdAllReasonsNewL() " ) );
       
    35 
       
    36     return CFotaCustCmdAllReasons::NewL();
       
    37     }
       
    38 
       
    39 
       
    40 // ---------------------------------------------------------------------------
       
    41 // FotaCustCmdsFactory::FotaCustCmdFirmwareUpdateNewL
       
    42 // ---------------------------------------------------------------------------
       
    43 //
       
    44 EXPORT_C MSsmCustomCommand* FotaCustCmdsFactory::FotaCustCmdFirmwareUpdateNewL()
       
    45     {
       
    46     FLOG( _L( "[FotaCustCmdsFactory::FotaCustCmdFirmwareUpdateNewL() " ) );
       
    47     return CFotaCustCmdFirmwareUpdate::NewL();
       
    48     }
       
    49 
       
    50 
       
    51 // ---------------------------------------------------------------------------
       
    52 // FotaCustCmdsFactory::FotaCustCmdFirstBootNewL
       
    53 // ---------------------------------------------------------------------------
       
    54 //
       
    55 EXPORT_C MSsmCustomCommand* FotaCustCmdsFactory::FotaCustCmdFirstBootNewL()
       
    56     {
       
    57    
       
    58     FLOG( _L( "[FotaCustCmdsFactory::FotaCustCmdFirstBootNewL() " ) );
       
    59     return CFotaCustCmdFirstBoot::NewL();
       
    60     }