camerauis/cameraxui/cxui/inc/cxuiapplication.h
branchRCL_3
changeset 24 bac7acad7cb3
parent 23 61bc0f252b2b
child 25 2c87b2808fd7
equal deleted inserted replaced
23:61bc0f252b2b 24:bac7acad7cb3
     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 CXUIAPPLICATION_H
       
    19 #define CXUIAPPLICATION_H
       
    20 
       
    21 #include <QObject>
       
    22 #include <HbApplication>
       
    23 
       
    24 class CxuiApplication : public HbApplication
       
    25 {
       
    26     Q_OBJECT
       
    27 
       
    28 public:
       
    29     CxuiApplication(int &argc, char *argv[]);
       
    30     ~CxuiApplication();
       
    31 
       
    32 public: // from HbApplication
       
    33 #if defined(Q_WS_S60)
       
    34     bool symbianEventFilter(const QSymbianEvent *e);
       
    35 #endif // Q_WS_S60
       
    36 
       
    37 signals:
       
    38     /*!
       
    39     * Testing framework support.
       
    40     * Application ready signal is emitted after startup when UI is fully loaded and functional.
       
    41     */
       
    42     void applicationReady();
       
    43 #if defined(Q_WS_S60)
       
    44     void symbianEvent(const QSymbianEvent *e);
       
    45 #endif // Q_WS_S60
       
    46 };
       
    47 
       
    48 #endif // CXUIAPPLICATION_H