qtinternetradio/ui/inc/irsymbianapplication.h
changeset 3 ee64f059b8e1
parent 2 2e1adbfc62af
child 4 3f2d53f144fe
child 5 0930554dc389
equal deleted inserted replaced
2:2e1adbfc62af 3:ee64f059b8e1
     1 /*
       
     2 * Copyright (c) 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:
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef IRSYMBIANAPPLICATION_H
       
    19 #define IRSYMBIANAPPLICATION_H
       
    20 
       
    21 #include <QS60MainApplication>
       
    22 
       
    23 CApaApplication *newS60Application();
       
    24 
       
    25 class IRSymbianApplication : public QS60MainApplication
       
    26 {
       
    27 public:
       
    28     static IRSymbianApplication * getInstance();
       
    29     bool getInstanceFlag() const;
       
    30     
       
    31 private:
       
    32     IRSymbianApplication();
       
    33     
       
    34     virtual CApaDocument *CreateDocumentL();
       
    35     virtual void PreDocConstructL();
       
    36     
       
    37 private:
       
    38     static IRSymbianApplication * appInstance;
       
    39     bool iSecondInstance;
       
    40 };
       
    41 
       
    42 
       
    43 #endif  //IRSYMBIANAPPLICATION_H