main/glxapplication.h
branchGCC_SURGE
changeset 51 525c140ec8db
parent 48 d0b4e67b3a60
child 58 383b67fbdb11
equal deleted inserted replaced
38:c9962d0368d9 51:525c140ec8db
       
     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:   ?Description
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef GLXAPPLICATION_H_
       
    19 #define GLXAPPLICATION_H_
       
    20 
       
    21 #include <hbApplication.h>
       
    22 
       
    23 class QSymbianEvent;
       
    24 
       
    25 class GlxApplication: public HbApplication
       
    26 {
       
    27 
       
    28 public:
       
    29 
       
    30     GlxApplication( int &argc, char *argv[],
       
    31                         Hb::ApplicationFlags flags = Hb::DefaultApplicationFlags );
       
    32     
       
    33     GlxApplication( QApplication::QS60MainApplicationFactory factory,
       
    34                         int &argc, 
       
    35                         char *argv[],
       
    36                         Hb::ApplicationFlags flags = Hb::DefaultApplicationFlags );
       
    37     
       
    38     bool symbianEventFilter( const QSymbianEvent *aQSEvent );
       
    39     
       
    40 private :
       
    41     void cleanUpCache();
       
    42 
       
    43 };
       
    44     
       
    45 #endif // GLXAPPLICATION_H_