fmradio/fmradio/src/fmradiodocument.cpp
changeset 0 f3d95d9c00ab
equal deleted inserted replaced
-1:000000000000 0:f3d95d9c00ab
       
     1 /*
       
     2 * Copyright (c) 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:  Implementation of the CFMRadioDocument class, which
       
    15 *                      handles application data serialization. Owns the Ui 
       
    16 *                      (controller) and the engine (model)
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 // INCLUDE FILES
       
    22 #include "fmradiodocument.h"
       
    23 #include "fmradioappui.h"
       
    24 
       
    25 // ================= MEMBER FUNCTIONS =======================
       
    26 
       
    27 // ---------------------------------------------------------
       
    28 // CFMRadioDocument::CFMRadioDocument
       
    29 // Constructor
       
    30 // ---------------------------------------------------------
       
    31 //
       
    32 CFMRadioDocument::CFMRadioDocument( CEikApplication& aApp )
       
    33 : CAknDocument( aApp )    
       
    34     {
       
    35     }
       
    36 
       
    37 // ---------------------------------------------------------
       
    38 // CFMRadioDocument::~CFMRadioDocument
       
    39 // Class destructor
       
    40 // ---------------------------------------------------------
       
    41 //
       
    42 CFMRadioDocument::~CFMRadioDocument()
       
    43     {
       
    44     }
       
    45 
       
    46 // ---------------------------------------------------------
       
    47 // CFMRadioDocument::NewL
       
    48 // Two-phase constructor of CFMRadioDelayTimer
       
    49 // ---------------------------------------------------------
       
    50 //
       
    51 CFMRadioDocument* CFMRadioDocument::NewL( CEikApplication& aApp )
       
    52     {
       
    53     CFMRadioDocument* self = new ( ELeave ) CFMRadioDocument( aApp );
       
    54     return self;
       
    55     }
       
    56     
       
    57 // ----------------------------------------------------
       
    58 // CFMRadioDocument::CreateAppUiL
       
    59 // constructs CFMRadioAppUi
       
    60 // ----------------------------------------------------
       
    61 //
       
    62 CEikAppUi* CFMRadioDocument::CreateAppUiL()
       
    63     {
       
    64     return new ( ELeave ) CFMRadioAppUi;
       
    65     }
       
    66 
       
    67 // End of File