phoneplugins/infowidgetplugin/infowidgetprovider/infowidget/inc/infowidgetsathandler.h
changeset 27 2f8f8080a020
parent 22 6bb1b21d2484
equal deleted inserted replaced
22:6bb1b21d2484 27:2f8f8080a020
    17 
    17 
    18 #ifndef INFOWIDGETSATHANDLER_H_
    18 #ifndef INFOWIDGETSATHANDLER_H_
    19 #define INFOWIDGETSATHANDLER_H_
    19 #define INFOWIDGETSATHANDLER_H_
    20 
    20 
    21 #include <QObject>
    21 #include <QObject>
       
    22 #include <rsatservice.h>
    22 
    23 
    23 class InfoWidgetSatHandler: public QObject 
    24 
       
    25 class InfoWidgetSatHandlerPrivate;
       
    26 
       
    27 class InfoWidgetSatHandler: public QObject
    24     {
    28     {
    25     Q_OBJECT
    29     Q_OBJECT
    26     
    30     
    27 public:    
    31 public:    
    28     InfoWidgetSatHandler(QObject *parent = NULL);
    32     InfoWidgetSatHandler(QObject *parent = NULL);
    29     ~InfoWidgetSatHandler();    
    33     ~InfoWidgetSatHandler();    
    30 
    34     
       
    35     void connect(bool connect);
       
    36         
    31     const QString& satDisplayText() const; 
    37     const QString& satDisplayText() const; 
    32     void setSatDisplayText(const QString& displayText);
    38     void setSatDisplayText(const QString& displayText);
    33 
    39 
    34     void logCurrentInfo(); 
    40     void logCurrentInfo(); 
       
    41     
       
    42     void handleIdleModeTxtMessage( int idleResult );
       
    43     void handleSatError( int operation, int errorCode );
    35 
    44 
    36 signals: 
    45 signals: 
    37     void handleMessage( int message );
    46     void handleMessage( int message );
    38     void handleError( int operation, int errorCode );
    47     void handleError( int operation, int errorCode );
    39 
    48 
    40     
    49     
    41 private: 
    50 private: 
    42     QString m_displayText; 
    51     QString m_displayText;
       
    52     
       
    53     int m_connected;
       
    54     
       
    55     InfoWidgetSatHandlerPrivate *d_ptr;
       
    56     RSatService m_satService;
       
    57     
    43     }; 
    58     }; 
    44 
    59 
    45 #endif /* INFOWIDGETSATHANDLER_H_ */
    60 #endif /* INFOWIDGETSATHANDLER_H_ */
    46 
    61 
    47 
    62