mmappfw_plat/mpx_view_utility_api/inc/mpxviewframeworkqt.h
branchRCL_3
changeset 56 63223d4fd956
parent 55 6c1dfe4da5dd
child 59 666f9a5a90a9
equal deleted inserted replaced
55:6c1dfe4da5dd 56:63223d4fd956
     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: 
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef MPXVIEWFRAMEWORK_H
       
    19 #define MPXVIEWFRAMEWORK_H
       
    20 
       
    21 #include <QObject>
       
    22 #include <QList>
       
    23 #include <qglobal.h>
       
    24 #include <hbmainwindow.h>
       
    25 
       
    26 class MpxViewPlugin;
       
    27 class HbView;
       
    28 
       
    29 #ifdef BUILD_VIEWFRAMEWORK
       
    30 #define VFDLL_EXPORT Q_DECL_EXPORT
       
    31 #else
       
    32 #define VFDLL_EXPORT Q_DECL_IMPORT
       
    33 #endif
       
    34 
       
    35 class VFDLL_EXPORT MpxViewFramework : public HbMainWindow
       
    36     {
       
    37     Q_OBJECT
       
    38     
       
    39 public:
       
    40     MpxViewFramework(QWidget *parent = 0, Hb::WindowFlags windowFlags = Hb::WindowFlagNone);
       
    41     
       
    42     virtual ~MpxViewFramework();
       
    43 
       
    44     virtual MpxViewPlugin *resolvePlugin(const QList<int>& requestedPlugins);
       
    45     
       
    46 private:
       
    47     
       
    48     Q_DISABLE_COPY(MpxViewFramework)    
       
    49     
       
    50     };
       
    51 
       
    52 #endif //VIEWFRAMEWORK_H