mmsharing/livecommsui/lcui/inc/lcviewmanager.h
branchRCL_3
changeset 33 bc78a40cd63c
parent 32 73a1feb507fb
child 35 6c57ef9392d2
equal deleted inserted replaced
32:73a1feb507fb 33:bc78a40cd63c
     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 #ifndef LCVIEWMANAGER_H
       
    18 #define LCVIEWMANAGER_H
       
    19 
       
    20 #include <QObject>
       
    21 #include <lcexport.h>
       
    22 
       
    23 class LcViewManagerPrivate;
       
    24 class HbMainWindow;
       
    25 
       
    26 /**
       
    27  * 
       
    28  */
       
    29 class LcViewManager : public QObject
       
    30 {
       
    31     Q_OBJECT
       
    32     friend class UT_LcUiViewManager;
       
    33     
       
    34 public: // The exported API
       
    35 
       
    36     LIVECOMMS_EXPORT LcViewManager(
       
    37         const QString &engineName,
       
    38         const QString &applicationDisplayName);
       
    39         
       
    40     LIVECOMMS_EXPORT ~LcViewManager();
       
    41         
       
    42 public slots:
       
    43 
       
    44     //terminateSession will close engine session asynchronously
       
    45     //when session is closed application will be also closed
       
    46     LIVECOMMS_EXPORT void terminateSession();
       
    47     
       
    48 private: //data 
       
    49     
       
    50     LcViewManagerPrivate* d_ptr;
       
    51 };
       
    52                   
       
    53 #endif // LCVIEWMANAGER_H