src/hbcore/core/hbevent.h
changeset 7 923ff622b8b9
parent 5 627c4a0fd0e7
equal deleted inserted replaced
6:c3690ec91ef8 7:923ff622b8b9
    44     static const int ThemeChanged;
    44     static const int ThemeChanged;
    45     static const int DeviceProfileChanged;
    45     static const int DeviceProfileChanged;
    46     static const int SleepModeEnter;
    46     static const int SleepModeEnter;
    47     static const int SleepModeExit;
    47     static const int SleepModeExit;
    48     static const int WindowLayoutDirectionChanged;
    48     static const int WindowLayoutDirectionChanged;
       
    49     static const int InputMethodFocusIn;
       
    50     static const int InputMethodFocusOut;
       
    51     static const int WindowObscuredChanged;
    49     HbEvent(int eventType);
    52     HbEvent(int eventType);
    50 };
    53 };
    51 
    54 
    52 
    55 
    53 class HB_CORE_EXPORT HbDeviceProfileChangedEvent: public HbEvent
    56 class HB_CORE_EXPORT HbDeviceProfileChangedEvent: public HbEvent
    64     }
    67     }
    65 protected:
    68 protected:
    66     HbDeviceProfile mProfile, mOldProfile;
    69     HbDeviceProfile mProfile, mOldProfile;
    67 };
    70 };
    68 
    71 
       
    72 class HB_CORE_EXPORT HbWindowObscuredChangedEvent: public HbEvent
       
    73 {
       
    74 public:
       
    75     HbWindowObscuredChangedEvent(bool obscuredState);
       
    76     ~HbWindowObscuredChangedEvent();
       
    77 
       
    78     inline bool obscuredState() const {
       
    79         return mObscuredState;
       
    80     }
       
    81 protected:
       
    82     bool mObscuredState;
       
    83 };
       
    84 
    69 #endif // HB_EVENTS_H
    85 #endif // HB_EVENTS_H
    70 
    86