bluetoothengine/btui/btcpplugin/btcpuiviewmgr.h
changeset 57 5ebadcda06cb
equal deleted inserted replaced
51:625f43ae9362 57:5ebadcda06cb
       
     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 BTCPUIVIEWMGR_H
       
    19 #define BTCPUIVIEWMGR_H
       
    20 
       
    21 #include <qglobal.h>
       
    22 
       
    23 class BtcpuiBaseView;
       
    24 class BtAbstractDelegate;
       
    25 
       
    26 /*!
       
    27     \class BtcpuiViewMgr
       
    28     \brief the view management interface of Bluetooth CP plugin
       
    29  */
       
    30 class BtcpuiViewMgr
       
    31 {
       
    32 
       
    33 public:
       
    34 
       
    35     /*!
       
    36      * Gets the device view instance.
       
    37      */
       
    38     virtual BtcpuiBaseView *deviceView() = 0;
       
    39     
       
    40     virtual void switchView(BtcpuiBaseView *from, BtcpuiBaseView *destination,
       
    41             const QVariant &init, bool backNavi) = 0;
       
    42     
       
    43 };
       
    44 
       
    45 #endif // BTCPUIVIEWMGR_H