memspyui/source/MemSpyApp.cpp
changeset 0 d6fe6244b863
equal deleted inserted replaced
-1:000000000000 0:d6fe6244b863
       
     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 *
       
    16 */
       
    17 
       
    18 #include "MemSpyApp.h"
       
    19 
       
    20 // System includes
       
    21 #include <eikstart.h>
       
    22 
       
    23 // User includes
       
    24 #include "MemSpyDocument.h"
       
    25 
       
    26 
       
    27 
       
    28 TUid CMemSpyApp::AppDllUid() const
       
    29     {
       
    30     return KUidMemSpy;
       
    31     }
       
    32 
       
    33 
       
    34 CApaDocument* CMemSpyApp::CreateDocumentL()
       
    35     {
       
    36     return CMemSpyDocument::NewL( *this );
       
    37     }
       
    38 
       
    39 
       
    40 EXPORT_C CApaApplication* NewApplication()
       
    41     {
       
    42     return new CMemSpyApp;
       
    43     }
       
    44 
       
    45 
       
    46 GLDEF_C TInt E32Main()
       
    47     {
       
    48     return EikStart::RunApplication(NewApplication);
       
    49     }
       
    50