src/hbcore/gui/hbdevicefadecontrolsym.cpp
changeset 5 627c4a0fd0e7
parent 0 16d8024aca5e
child 21 4633027730f5
child 34 ed14f46c0e55
equal deleted inserted replaced
3:11d3954df52a 5:627c4a0fd0e7
    39 
    39 
    40 class HbDeviceFadeControlPrivate  : public CActive
    40 class HbDeviceFadeControlPrivate  : public CActive
    41 {
    41 {
    42 public:
    42 public:
    43     struct FadeControl {
    43     struct FadeControl {
    44         int fadeOff:1; // command for application to unfade
    44         int fadeOff: 1; // command for application to unfade
    45         int spare:31;
    45         int spare: 31;
    46     };
    46     };
    47 
    47 
    48 public:
    48 public:
    49     HbDeviceFadeControlPrivate(HbDeviceFadeControl *parent);
    49     HbDeviceFadeControlPrivate(HbDeviceFadeControl *parent);
    50     ~HbDeviceFadeControlPrivate();
    50     ~HbDeviceFadeControlPrivate();
    85     mProperty.Attach(PropertyCategoryUid, FadeKey);
    85     mProperty.Attach(PropertyCategoryUid, FadeKey);
    86     if (!mIsSetter) {
    86     if (!mIsSetter) {
    87         CActiveScheduler::Add(this);
    87         CActiveScheduler::Add(this);
    88         start();
    88         start();
    89     }
    89     }
       
    90     process.Close();
    90 }
    91 }
    91 
    92 
    92 HbDeviceFadeControlPrivate::~HbDeviceFadeControlPrivate()
    93 HbDeviceFadeControlPrivate::~HbDeviceFadeControlPrivate()
    93 {
    94 {
    94     Cancel();
    95     Cancel();