phoneplugins/infowidgetplugin/infowidget/inc/infowidgetsathandler_p.h
changeset 46 bc5a64e5bc3c
equal deleted inserted replaced
45:6b911d05207e 46:bc5a64e5bc3c
       
     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 INFOWIDGETSATHANDLER_P_H_
       
    19 #define INFOWIDGETSATHANDLER_P_H_
       
    20 
       
    21 #include <rsatservice.h>
       
    22 #include <rsatsession.h>
       
    23 #include <QString>
       
    24 
       
    25 // Forward declarations 
       
    26 class InfoWidgetSatHandler; 
       
    27 
       
    28 // Class declaration
       
    29 class InfoWidgetSatHandlerPrivate: public CActive
       
    30 {
       
    31 public:  
       
    32     
       
    33     InfoWidgetSatHandlerPrivate(
       
    34             InfoWidgetSatHandler *iwSatHandler, 
       
    35             RSatService& iSatService);
       
    36     ~InfoWidgetSatHandlerPrivate();
       
    37  
       
    38     void startObserving();
       
    39     bool connect();
       
    40     void disconnect();
       
    41     void activate();
       
    42     void getIdleModeData();
       
    43 
       
    44 protected: // From CActive
       
    45     void RunL();
       
    46     void DoCancel();
       
    47        
       
    48 private: // Data
       
    49     InfoWidgetSatHandler *m_satHandler; // Not owned. 
       
    50     RSatService& m_satService;
       
    51     RSatSession m_satSession;
       
    52     RSatService::TSATIdleResult m_idleResult;
       
    53 
       
    54     QString m_idleTxt;
       
    55 };
       
    56 
       
    57 #endif // INFOWIDGETSATHANDLER_P_H_
       
    58