commondrm/drmencryptor/inc/DRMEncryptorAppUi.h
branchRCL_3
changeset 27 1481bf457703
parent 0 95b198f216e5
equal deleted inserted replaced
26:1221b68b8a5f 27:1481bf457703
       
     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 UI class for application.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef DRMEncryptorAPPUI_H
       
    20 #define DRMEncryptorAPPUI_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <eikapp.h>
       
    24 #include <eikdoc.h>
       
    25 #include <e32std.h>
       
    26 #include <coeccntx.h>
       
    27 #include <aknappui.h>
       
    28 
       
    29 // FORWARD DECLARATIONS
       
    30 class CDRMEncryptorContainer;
       
    31 
       
    32 // CONSTANTS
       
    33 
       
    34 // CLASS DECLARATION
       
    35 
       
    36 /**
       
    37 * Application UI class.
       
    38 * Provides support for the following features:
       
    39 * - EIKON control architecture
       
    40 *
       
    41 */
       
    42 class CDRMEncryptorAppUi : public CAknAppUi
       
    43     {
       
    44     public: // Constructors and destructor
       
    45 
       
    46         /**
       
    47         * EPOC default constructor.
       
    48         */
       
    49         void ConstructL();
       
    50 
       
    51         /**
       
    52         * Destructor.
       
    53         */
       
    54         ~CDRMEncryptorAppUi();
       
    55 
       
    56     public: // New functions
       
    57 
       
    58     public: // Functions from base classes
       
    59 
       
    60         TBool ProcessCommandParametersL(
       
    61             TApaCommand aCommand,
       
    62             TFileName& aDocumentName,
       
    63             const TDesC8& aTail);
       
    64 
       
    65 
       
    66     private:
       
    67         /**
       
    68         * From CEikAppUi, takes care of command handling.
       
    69         * @param aCommand command to be handled
       
    70         */
       
    71         void HandleCommandL( TInt aCommand );
       
    72 
       
    73     private: // Data
       
    74         CDRMEncryptorContainer* iAppContainer;
       
    75     };
       
    76 
       
    77 #endif
       
    78 
       
    79 // End of File