fotaapplication/fotaserver/fotacustcmds/src/fotacustcmdsfactory.cpp
branchRCL_3
changeset 26 19bba8228ff0
parent 0 b497e44ab2fc
equal deleted inserted replaced
25:b183ec05bd8c 26:19bba8228ff0
       
     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     }