commondrm/drmencryptor/src/DRMEncryptorApp.cpp
changeset 56 88330f36f634
parent 42 a7bc3704293e
child 57 41137c634688
equal deleted inserted replaced
42:a7bc3704293e 56:88330f36f634
     1 /*
       
     2 * Copyright (c) 2002 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 // INCLUDE FILES
       
    20 #include "DRMEncryptorApp.h"
       
    21 #include "DRMEncryptorDocument.h"
       
    22 
       
    23 // ================= MEMBER FUNCTIONS =======================
       
    24 
       
    25 // ---------------------------------------------------------
       
    26 // CDRMEncryptorApp::AppDllUid()
       
    27 // Returns application UID
       
    28 // ---------------------------------------------------------
       
    29 //
       
    30 TUid CDRMEncryptorApp::AppDllUid() const
       
    31     {
       
    32     return KUidDRMEncryptor;
       
    33     }
       
    34 
       
    35    
       
    36 // ---------------------------------------------------------
       
    37 // CDRMEncryptorApp::CreateDocumentL()
       
    38 // Creates CDRMEncryptorDocument object
       
    39 // ---------------------------------------------------------
       
    40 //
       
    41 CApaDocument* CDRMEncryptorApp::CreateDocumentL()
       
    42     {
       
    43     return CDRMEncryptorDocument::NewL( *this );
       
    44     }
       
    45 
       
    46 #include <eikstart.h>
       
    47 
       
    48 LOCAL_C CApaApplication* NewApplication()
       
    49     {
       
    50     return new CDRMEncryptorApp;
       
    51     }
       
    52 
       
    53 // ---------------------------------------------------------
       
    54 // E32Main()
       
    55 //  Main startup entry point
       
    56 // Returns: KErrNone
       
    57 // ---------------------------------------------------------
       
    58 //
       
    59 GLDEF_C TInt E32Main()
       
    60     {
       
    61     return EikStart::RunApplication(NewApplication);
       
    62     }
       
    63 
       
    64 
       
    65 // End of File
       
    66