exampleapps/alfexanalogdialer/src/alfexanalogdialerdocument.cpp
changeset 0 15bf7259bb7c
equal deleted inserted replaced
-1:000000000000 0:15bf7259bb7c
       
     1 /*
       
     2 * Copyright (c) 2008-2008 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 member functions of 
       
    15 *                CAlfExAnalogDialerDocument.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 #include "alfexanalogdialerdocument.h"
       
    22 #include "alfexanalogdialerappui.h"
       
    23 
       
    24 // ---------------------------------------------------------------------------
       
    25 // NewL
       
    26 // ---------------------------------------------------------------------------
       
    27 //
       
    28 CAlfExAnalogDialerDocument* CAlfExAnalogDialerDocument::NewL(CEikApplication& aApp)
       
    29     {
       
    30     CAlfExAnalogDialerDocument* self = NewLC(aApp);
       
    31     CleanupStack::Pop(self);
       
    32     return self;
       
    33     }
       
    34 
       
    35 // ---------------------------------------------------------------------------
       
    36 // NewLC
       
    37 // ---------------------------------------------------------------------------
       
    38 //
       
    39 CAlfExAnalogDialerDocument* CAlfExAnalogDialerDocument::NewLC(CEikApplication& aApp)
       
    40     {
       
    41     CAlfExAnalogDialerDocument* self = new (ELeave) CAlfExAnalogDialerDocument(aApp);
       
    42     CleanupStack::PushL(self);
       
    43     self->ConstructL();
       
    44     return self;
       
    45     }
       
    46 
       
    47 // ---------------------------------------------------------------------------
       
    48 // ~CAlfExAnalogDialerDocument
       
    49 // ---------------------------------------------------------------------------
       
    50 //
       
    51 CAlfExAnalogDialerDocument::~CAlfExAnalogDialerDocument()
       
    52     {
       
    53 	// no implementation required
       
    54     }
       
    55     
       
    56 // ---------------------------------------------------------------------------
       
    57 // CreateAppUiL
       
    58 //     // Create the application user interface, and return a pointer to it,
       
    59     // the framework takes ownership of this object
       
    60 
       
    61 // ---------------------------------------------------------------------------
       
    62 //
       
    63 CEikAppUi* CAlfExAnalogDialerDocument::CreateAppUiL()
       
    64     {
       
    65     CEikAppUi* appUi = new (ELeave) CAlfExAnalogDialerAppUi;
       
    66     return appUi;
       
    67     }
       
    68 
       
    69 // ---------------------------------------------------------------------------
       
    70 // CAlfExAnalogDialerDocument
       
    71 // ---------------------------------------------------------------------------
       
    72 //
       
    73 CAlfExAnalogDialerDocument::CAlfExAnalogDialerDocument(CEikApplication& aApp) : CAknDocument(aApp) 
       
    74     {
       
    75 	// no implementation required
       
    76     }
       
    77 
       
    78 // ---------------------------------------------------------------------------
       
    79 // ConstructL
       
    80 // ---------------------------------------------------------------------------
       
    81 //
       
    82 void CAlfExAnalogDialerDocument::ConstructL()
       
    83     {
       
    84 	// no implementation required
       
    85     }    
       
    86 
       
    87