15 * |
15 * |
16 */ |
16 */ |
17 #ifndef CPPROFILEMONITORPRIVATE_H |
17 #ifndef CPPROFILEMONITORPRIVATE_H |
18 #define CPPROFILEMONITORPRIVATE_H |
18 #define CPPROFILEMONITORPRIVATE_H |
19 |
19 |
20 #include <MProfileChangeObserver.h> |
20 #include <MProEngNotifyHandler.h> |
|
21 #include <MProEngProfileActivationObserver.h> |
|
22 #include <MProEngProfileObserver.h> |
|
23 #include <MProEngProfileNameArrayObserver.h> |
21 #include <qglobal.h> |
24 #include <qglobal.h> |
22 |
25 |
23 class CProfileChangeNotifyHandler; |
26 class CpProfileModel; |
24 class CpProfileMonitor; |
27 class CpProfileMonitor; |
25 |
28 |
26 class CpProfileMonitorPrivate:public MProfileChangeObserver |
29 class CpProfileMonitorPrivate:public MProEngProfileActivationObserver, |
|
30 public MProEngProfileObserver, |
|
31 public MProEngProfileNameArrayObserver |
27 { |
32 { |
28 Q_DECLARE_PUBLIC(CpProfileMonitor) |
33 Q_DECLARE_PUBLIC(CpProfileMonitor) |
29 public: |
34 public: |
30 CpProfileMonitorPrivate(); |
35 CpProfileMonitorPrivate(); |
31 ~CpProfileMonitorPrivate(); |
36 ~CpProfileMonitorPrivate(); |
32 void initialize(CpProfileMonitor *parent); |
37 void initialize(CpProfileMonitor *parent); |
33 |
38 void stopMonitoring(); |
34 #ifdef Q_OS_SYMBIAN |
|
35 private: |
39 private: |
36 void HandleActiveProfileEventL(TProfileEvent aProfileEvent, TInt aProfileId); |
40 //from MProEngProfileObserver |
|
41 void HandleProfileModifiedL( TInt aProfileId ); |
|
42 //from MProEngProfileActivationObserver |
|
43 void HandleProfileActivatedL( TInt aProfileId ); |
|
44 //from MProEngProfileNameArrayObserver |
|
45 void HandleProfileNameArrayModificationL(); |
37 private: |
46 private: |
38 CProfileChangeNotifyHandler *mProfileNotifier; |
47 CpProfileModel *mProfileModel; |
39 #endif |
48 MProEngNotifyHandler *mProfileNotifier; |
40 private: |
49 private: |
41 CpProfileMonitor *q_ptr; |
50 CpProfileMonitor *q_ptr; |
42 }; |
51 }; |
43 |
52 |
44 #endif |
53 #endif |