mmsharing/livecommsui/lcui/tsrc/mustester/app/lcapplication.h
branchRCL_3
changeset 33 bc78a40cd63c
parent 32 73a1feb507fb
child 35 6c57ef9392d2
equal deleted inserted replaced
32:73a1feb507fb 33:bc78a40cd63c
     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 #ifndef LCAPPLICATION_H
       
    18 #define LCAPPLICATION_H
       
    19 
       
    20 #include <hbapplication.h>
       
    21 #include <QString.h>
       
    22 
       
    23 class CMusTestDirector;
       
    24 
       
    25 class LcHbApplication : public HbApplication
       
    26 {
       
    27     Q_OBJECT
       
    28     friend class UT_LcApplication;
       
    29     
       
    30 public:
       
    31     
       
    32     LcHbApplication(int &argc, char *argv[],QString useCase);
       
    33     ~LcHbApplication();
       
    34     
       
    35 signals:
       
    36     
       
    37     void handleQuit();
       
    38 
       
    39 public slots:
       
    40 
       
    41     //from QCoreApplication
       
    42     static void quit();        
       
    43 
       
    44 private:
       
    45 	  void setUseCase( QString useCase );
       
    46 
       
    47 private: //data
       
    48     
       
    49     static LcHbApplication* self;
       
    50     CMusTestDirector* iTestDirector;
       
    51 };
       
    52 
       
    53 
       
    54 #endif //LCAPPLICATION_H