commondrm/drmencryptor/inc/DRMEncryptorApp.h
changeset 56 88330f36f634
parent 42 a7bc3704293e
child 57 41137c634688
equal deleted inserted replaced
42:a7bc3704293e 56:88330f36f634
     1 /*
       
     2 * Copyright (c) 2002-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:  Declares main application class
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef DRMEncryptorAPP_H
       
    20 #define DRMEncryptorAPP_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <aknapp.h>
       
    24 
       
    25 // CONSTANTS
       
    26 // UID of the application
       
    27 const TUid KUidDRMEncryptor = { 0x01105901 };
       
    28 
       
    29 // CLASS DECLARATION
       
    30 
       
    31 /**
       
    32 * CDRMEncryptorApp application class.
       
    33 * Provides factory to create concrete document object.
       
    34 *
       
    35 */
       
    36 class CDRMEncryptorApp : public CAknApplication
       
    37     {
       
    38 
       
    39     public: // Functions from base classes
       
    40     private:
       
    41 
       
    42         /**
       
    43         * From CApaApplication, creates CDRMEncryptorDocument document object.
       
    44         * @return A pointer to the created document object.
       
    45         */
       
    46         CApaDocument* CreateDocumentL();
       
    47 
       
    48         /**
       
    49         * From CApaApplication, returns application's UID (KUidDRMEncryptor).
       
    50         * @return The value of KUidDRMEncryptor.
       
    51         */
       
    52         TUid AppDllUid() const;
       
    53     };
       
    54 
       
    55 #endif
       
    56 
       
    57 // End of File
       
    58