ginebra2/Application.h
changeset 0 1450b09d0cfd
child 3 0954f5dd2cd0
equal deleted inserted replaced
-1:000000000000 0:1450b09d0cfd
       
     1 /*
       
     2 * Copyright (c) 2010 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 __GINEBRA_APPLICATION_H__
       
    19 #define __GINEBRA_APPLICATION_H__
       
    20 
       
    21 #include <QObject>
       
    22 
       
    23 class QCoreApplication;
       
    24 
       
    25 namespace GVA {
       
    26 
       
    27 class GinebraApplication : public QObject
       
    28 {
       
    29   Q_OBJECT
       
    30   public:
       
    31     GinebraApplication();
       
    32     ~GinebraApplication();
       
    33   public slots:
       
    34     void quit();
       
    35     void debug(const QString &msg);
       
    36   signals:
       
    37     void aboutToQuit();
       
    38   private:
       
    39     QCoreApplication * m_app;
       
    40 };
       
    41   
       
    42 }
       
    43 #endif