logsui/logsapp/tsrc/ut_logsapp/stubs/hbapplication.h
author hgs
Fri, 03 Sep 2010 14:26:05 +0300
changeset 17 90fe74753f71
parent 6 41c0a814d878
child 18 acd4e87b24b4
permissions -rw-r--r--
201035

/*
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:
*
*/
#ifndef HBAPPLICATION_H
#define HBAPPLICATION_H
 
#include <qobject.h>
#include <qglobal.h> 
#include <qapplication.h>
#include <hbnamespace.h>

class HbActivityManager;

class HbApplication : public QApplication
{
public:
    HbApplication(int &/*argc*/, char */*argv*/[]);
    ~HbApplication();
    
    HbActivityManager *activityManager();
    Hb::ActivationReason activateReason() const;
    QVariantHash activateParams() const;
    QString activateId() const; 
    QVariant activateData();    
    
    static void quit();
};

#endif//HBAPPLICATION_H