internetradio2.0/uiinc/irapplication.h
changeset 0 09774dfdd46b
equal deleted inserted replaced
-1:000000000000 0:09774dfdd46b
       
     1 /*
       
     2 * Copyright (c) 2006-2007 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:  ?Description
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef IRAPPLICATION_H
       
    20 #define IRAPPLICATION_H
       
    21 
       
    22 #include <aknapp.h>
       
    23 
       
    24 //========================================class declaration CIRApplication============================================
       
    25 
       
    26 /**
       
    27  * This class Creates the document
       
    28  * 
       
    29  * @code
       
    30  *
       
    31  * Creates the document class.
       
    32  * new (ELeave) CIRDocument(*this); 
       
    33  * AppDllUid() - returns the UID for the IR application 
       
    34  *
       
    35  * @endcode
       
    36  *
       
    37  */
       
    38      
       
    39 class CIRApplication : public CAknApplication
       
    40     {
       
    41 private:
       
    42     
       
    43      /**
       
    44 	 * Function : CreateDocumentL()
       
    45 	 * Inherited from class CApaApplication
       
    46      */
       
    47     CApaDocument* CreateDocumentL();
       
    48     
       
    49      /**
       
    50 	 * Function : AppDllUid().
       
    51 	 * @return TUid,the UID for the IR application.
       
    52      */
       
    53     TUid AppDllUid() const;
       
    54      /**
       
    55 	 * Function : PreDocConstructL().
       
    56 	 */
       
    57     void PreDocConstructL();
       
    58     
       
    59 public:
       
    60 
       
    61      /**
       
    62 	 * Function : GetInstanceFlag().
       
    63 	 * @return the bool value for iSecondInstance
       
    64      */
       
    65     TBool GetInstanceFlag();
       
    66     
       
    67 private:    
       
    68      /**
       
    69 	 * iSecondInstance
       
    70      */
       
    71     TBool iSecondInstance;
       
    72     };
       
    73 
       
    74 #endif // IRAPPLICATION_H