perfmon/ui/hb/app/inc/mainwindow.h
changeset 51 b048e15729d6
parent 44 5db69f4c3d06
child 52 36d60d12b4af
equal deleted inserted replaced
44:5db69f4c3d06 51:b048e15729d6
     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 MAINWINDOW_H
       
    19 #define MAINWINDOW_H
       
    20 
       
    21 #include <HbMainWindow>
       
    22 
       
    23 class EngineWrapper;
       
    24 class MainView;
       
    25 class SettingsView;
       
    26 
       
    27 class MainWindow : public HbMainWindow
       
    28 {
       
    29     Q_OBJECT
       
    30 public:
       
    31     MainWindow(EngineWrapper &engine, QWidget *parent = 0);
       
    32 
       
    33 public slots:
       
    34     void showMainView();
       
    35     void showSettings();
       
    36 
       
    37 private:
       
    38     void clearViews();
       
    39 
       
    40 private:
       
    41     EngineWrapper &mEngine;
       
    42     MainView* mMainView;
       
    43     SettingsView* mSettingsView;
       
    44 };
       
    45 
       
    46 #endif // MAINWINDOW_H