phoneapp/phoneuiqtviewadapter/inc/phonevisibilityhandler.h
changeset 78 baacf668fe89
parent 46 bc5a64e5bc3c
equal deleted inserted replaced
76:cfea66083b62 78:baacf668fe89
    61 public:
    61 public:
    62     /**
    62     /**
    63      * Control visiblity
    63      * Control visiblity
    64      */
    64      */
    65     void bringToForeground();
    65     void bringToForeground();
    66     void sendToBackground(bool homeScreenForeground);
    66     void bringVideoCallToForeground();
       
    67     void sendToBackground();
    67     void hideDeviceDialogs(bool hide);
    68     void hideDeviceDialogs(bool hide);
    68     
    69     
    69     /**
    70     /**
    70      * Return true if phone is visible application
    71      * Return true if some (or all) of the phone window is visible, 
       
    72      * either directly or through a transparent window
    71      */
    73      */
    72     bool phoneVisible();
    74     bool phoneVisible() const;
       
    75     
       
    76     void windowVisibilityChange(bool isVisible);
    73     
    77     
    74 public: // from MPhonePubSubObserver
    78 public: // from MPhonePubSubObserver
    75 
    79 
    76     /**
    80     /**
    77     * This function is called when there is property value change.
    81     * This function is called when there is property value change.
   131     /** Car Mode publisher */
   135     /** Car Mode publisher */
   132     QValueSpacePublisher* m_carModePublisher;
   136     QValueSpacePublisher* m_carModePublisher;
   133     
   137     
   134     /** Key guard status before phone came top */
   138     /** Key guard status before phone came top */
   135     bool m_keyguardOnBeforeForeground;
   139     bool m_keyguardOnBeforeForeground;
       
   140     
       
   141     /** Phone visible */
       
   142     bool m_phoneVisible;
   136 };
   143 };
   137 
   144 
   138 #endif // PHONEVISIBILITYHANDLER_H
   145 #endif // PHONEVISIBILITYHANDLER_H