omads/omadsappui/ui/src/NSmlDSSyncApp.cpp
changeset 0 dab8a81a92de
equal deleted inserted replaced
-1:000000000000 0:dab8a81a92de
       
     1 /*
       
     2 * Copyright (c) 2002-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:  
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 // INCLUDE FILES
       
    21 #include    "NSmlDSSyncApp.h"
       
    22 #include    "NSmlDSSyncDocument.h"
       
    23 #include    "AspDebug.h"
       
    24 
       
    25 
       
    26 // ============================ MEMBER FUNCTIONS ===============================
       
    27 
       
    28 
       
    29 
       
    30 // -----------------------------------------------------------------------------
       
    31 // CNSmlDSSyncApp::AppDllUid
       
    32 //
       
    33 // Returns application UID.
       
    34 // -----------------------------------------------------------------------------
       
    35 //
       
    36 TUid CNSmlDSSyncApp::AppDllUid() const
       
    37     {
       
    38     FLOG( _L("CNSmlDSSyncApp::AppDllUid") );
       
    39     
       
    40     return KUidSmlSyncApp;
       
    41     }
       
    42 
       
    43    
       
    44 // -----------------------------------------------------------------------------
       
    45 // CNSmlDSSyncApp::CreateDocumentL
       
    46 //
       
    47 // Creates CAIWTestAppDocument object.
       
    48 // -----------------------------------------------------------------------------
       
    49 //
       
    50 CApaDocument* CNSmlDSSyncApp::CreateDocumentL()
       
    51     {
       
    52     FLOG( _L("CNSmlDSSyncApp::CreateDocumentL") );
       
    53     
       
    54     return CNSmlDSSyncDocument::NewL( *this );
       
    55     }
       
    56 
       
    57 
       
    58 
       
    59 
       
    60 // ======================== OTHER EXPORTED FUNCTIONS ===========================
       
    61 
       
    62 
       
    63 
       
    64 #include <eikstart.h>
       
    65 
       
    66 LOCAL_C CApaApplication* NewApplication()
       
    67     {
       
    68     return new CNSmlDSSyncApp;
       
    69     }
       
    70 
       
    71 GLDEF_C TInt E32Main()
       
    72     {
       
    73     return EikStart::RunApplication(NewApplication);
       
    74     }
       
    75 
       
    76 
       
    77 
       
    78 
       
    79 // End of File  
       
    80