commondrm/drmencryptor/inc/DRMEncryptorApp.h
branchRCL_3
changeset 26 1221b68b8a5f
parent 25 50c53e893c3f
child 27 1481bf457703
equal deleted inserted replaced
25:50c53e893c3f 26:1221b68b8a5f
     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