widgets/widgetapp/inc/WidgetUiApp.h
changeset 0 dd21522fd290
equal deleted inserted replaced
-1:000000000000 0:dd21522fd290
       
     1 /*
       
     2 * Copyright (c) 2006, 2008 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 the License "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 #ifndef WIDGETUIAPP_H_
       
    20 #define WIDGETUIAPP_H_
       
    21 
       
    22 // INCLUDES
       
    23 
       
    24 #include <aknapp.h>
       
    25 
       
    26 // CONSTANTS
       
    27 
       
    28 const TUid KUidWidgetUi = { 0x10282822 };
       
    29 
       
    30 // MACROS
       
    31 
       
    32 // DATA TYPES
       
    33 
       
    34 // FUNCTION PROTOTYPES
       
    35 
       
    36 // FORWARD DECLARATIONS
       
    37 
       
    38 // CLASS DECLARATION
       
    39 
       
    40 /**
       
    41 *  CWidgetUiApp
       
    42 *
       
    43 *  @lib WidgetUI.exe
       
    44 *  @since 3.1
       
    45 */
       
    46 class CWidgetUiApp : public CAknApplication
       
    47     {
       
    48     public: // Functions from base classes
       
    49 
       
    50         /**
       
    51         * OpenIniFileLC
       
    52         * @since 3.1
       
    53         * @param aFs file system reference
       
    54         * @return CDictionaryStore*
       
    55         */
       
    56         CDictionaryStore* OpenIniFileLC( RFs& aFs ) const;
       
    57 
       
    58         /**
       
    59         * ProcessCommandParametersL
       
    60         * @since 3.1
       
    61         * @param aCommand
       
    62         * @return TBool
       
    63         */
       
    64         TBool ProcessCommandParametersL( TApaCommand aCommand, 
       
    65                                          TFileName& /*aDocumentName*/,
       
    66                                          const TDesC8& /*aTail*/ );
       
    67 
       
    68         /**
       
    69         * ProcessCommandParametersL
       
    70         * @since 3.1
       
    71         * @param aDocumentName
       
    72         * @return none
       
    73         */
       
    74         void ProcessCommandParametersL( TFileName& aDocumentName );
       
    75 
       
    76     private:
       
    77 
       
    78         /**
       
    79         * CreateDocumentL
       
    80         * @since 3.1
       
    81         * @param none
       
    82         * @return CApaDocument*
       
    83         */
       
    84         CApaDocument* CreateDocumentL();
       
    85 
       
    86         /**
       
    87         * AppDllUid
       
    88         * @since 3.1
       
    89         * @param none
       
    90         * @return TUid
       
    91         */
       
    92         TUid AppDllUid() const;
       
    93     };
       
    94 
       
    95 #endif // WIDGETUIAPP_H
       
    96 
       
    97 // End of File
       
    98 
       
    99 
       
   100 
       
   101 
       
   102