main/glxapplication.h
author William Roberts <williamr@symbian.org>
Thu, 22 Jul 2010 16:33:32 +0100
branchGCC_SURGE
changeset 51 525c140ec8db
parent 48 d0b4e67b3a60
child 58 383b67fbdb11
permissions -rw-r--r--
Catchup to latest Symbian^4

/*
* 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:   ?Description
*
*/

#ifndef GLXAPPLICATION_H_
#define GLXAPPLICATION_H_

#include <hbApplication.h>

class QSymbianEvent;

class GlxApplication: public HbApplication
{

public:

    GlxApplication( int &argc, char *argv[],
                        Hb::ApplicationFlags flags = Hb::DefaultApplicationFlags );
    
    GlxApplication( QApplication::QS60MainApplicationFactory factory,
                        int &argc, 
                        char *argv[],
                        Hb::ApplicationFlags flags = Hb::DefaultApplicationFlags );
    
    bool symbianEventFilter( const QSymbianEvent *aQSEvent );
    
private :
    void cleanUpCache();

};
    
#endif // GLXAPPLICATION_H_