utilityapps/launcher/inc/launchermainwindow.h
changeset 55 2d9cac8919d3
parent 17 4f2773374eff
equal deleted inserted replaced
53:819e59dfc032 55:2d9cac8919d3
       
     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 
       
    19 #ifndef LauncherMainWindow_H_
       
    20 #define LauncherMainWindow_H_
       
    21 
       
    22 #include <hbmainwindow.h>
       
    23 #include <hbview.h>
       
    24 
       
    25 class HbApplication;
       
    26 class ApplicationView;
       
    27 class OutputView;
       
    28 class EngineWrapper;
       
    29 class CommonActions;
       
    30 
       
    31 class LauncherMainWindow : public HbMainWindow
       
    32     {
       
    33 public:
       
    34     
       
    35     LauncherMainWindow ( QWidget *parent = 0 );
       
    36     virtual ~LauncherMainWindow ();
       
    37     
       
    38     int init( HbApplication &app );
       
    39     
       
    40     void openApplicationView();
       
    41     void openOutputView();
       
    42     /**
       
    43      * Prints text into output
       
    44      */
       
    45     void printText(const QString &text);
       
    46     
       
    47 private: //data
       
    48     EngineWrapper* mEngineWrapper;
       
    49     ApplicationView* mApplicationView;
       
    50     OutputView* mOutputView;
       
    51     CommonActions* mCommonActions;
       
    52     };
       
    53 
       
    54 #endif /* LauncherMainWindow_H_ */