equal
deleted
inserted
replaced
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(); |