phoneplugins/infowidgetplugin/infowidget/inc/infowidgetsathandlerprivate.h
changeset 45 6b911d05207e
equal deleted inserted replaced
37:ba76fc04e6c2 45:6b911d05207e
       
     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 INFOWIDGETSATHANDLERPRIVATE_H_
       
    19 #define INFOWIDGETSATHANDLERPRIVATE_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(InfoWidgetSatHandler *iwSatHandler, RSatService& iSatService);
       
    34     ~InfoWidgetSatHandlerPrivate();
       
    35  
       
    36     void startObserving();
       
    37     
       
    38     bool connect();
       
    39     int disconnect();
       
    40 
       
    41 private: 
       
    42  
       
    43     void activate();
       
    44     void getIdleModeData();
       
    45     
       
    46     void RunL();
       
    47     void DoCancel();
       
    48        
       
    49 private: // Data
       
    50    
       
    51     InfoWidgetSatHandler *q_ptr;
       
    52     RSatService& m_satService;
       
    53     RSatSession m_satSession;
       
    54     RSatService::TSATIdleResult m_idleResult;
       
    55     
       
    56     QString m_idleTxt;
       
    57 };
       
    58 
       
    59 #endif // INFOWIDGETSATHANDLERPRIVATE_H_
       
    60