exampleapps/alfexanalogdialer/src/alfexanalogdialerapplication.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 CAlfExAnalogDialerApplication.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #include "alfexanalogdialerapplication.h"
       
    21 #include "alfexanalogdialerdocument.h"
       
    22 
       
    23 // UID of the application. It must be same as in MMP file 
       
    24 static const TUid KUidAlfExAnalogDialerApp = {0x2001247F};
       
    25 
       
    26 // ---------------------------------------------------------------------------
       
    27 // AppDllUid
       
    28 // Return the UID of the Analog Dialer application
       
    29 // ---------------------------------------------------------------------------
       
    30 //
       
    31 TUid CAlfExAnalogDialerApplication::AppDllUid() const
       
    32     {
       
    33     return KUidAlfExAnalogDialerApp;
       
    34     }
       
    35 
       
    36 // ---------------------------------------------------------------------------
       
    37 // CreateDocumentL
       
    38 // Creates document class of Analog Dialer and returns pointer to it. 
       
    39 // ---------------------------------------------------------------------------
       
    40 //
       
    41 CApaDocument* CAlfExAnalogDialerApplication::CreateDocumentL()
       
    42     {  
       
    43     CApaDocument* document = CAlfExAnalogDialerDocument::NewL(*this);
       
    44     return document;
       
    45     }
       
    46 
       
    47