equal
deleted
inserted
replaced
37 #include "radiostation.h" |
37 #include "radiostation.h" |
38 #include "radioscannerengine.h" |
38 #include "radioscannerengine.h" |
39 #include "radiostationhandlerif.h" |
39 #include "radiostationhandlerif.h" |
40 #include "radiocontrolservice.h" |
40 #include "radiocontrolservice.h" |
41 #include "radiomonitorservice.h" |
41 #include "radiomonitorservice.h" |
|
42 #include "radiotimerpool.h" |
42 #include "radioservicedef.h" |
43 #include "radioservicedef.h" |
43 #include "radiologger.h" |
44 #include "radiologger.h" |
44 |
45 |
45 /*! |
46 /*! |
46 * |
47 * |
47 */ |
48 */ |
48 RadioUiEnginePrivate::RadioUiEnginePrivate( RadioUiEngine* engine ) : |
49 RadioUiEnginePrivate::RadioUiEnginePrivate( RadioUiEngine* engine ) : |
49 q_ptr( engine ), |
50 q_ptr( engine ) |
50 mPowerOffTimer( NULL ) |
|
51 { |
51 { |
52 } |
52 } |
53 |
53 |
54 /*! |
54 /*! |
55 * |
55 * |
77 /*! |
77 /*! |
78 * |
78 * |
79 */ |
79 */ |
80 bool RadioUiEnginePrivate::init() |
80 bool RadioUiEnginePrivate::init() |
81 { |
81 { |
|
82 mTimerPool.reset( new RadioTimerPool() ); |
|
83 |
82 mControlService.reset( new RadioControlService( *q_ptr ) ); |
84 mControlService.reset( new RadioControlService( *q_ptr ) ); |
83 mMonitorService.reset( new RadioMonitorService( *this ) ); |
85 mMonitorService.reset( new RadioMonitorService( *this ) ); |
84 mStationModel.reset( new RadioStationModel( *this ) ); |
86 mStationModel.reset( new RadioStationModel( *this ) ); |
85 |
87 |
86 mEngineWrapper.reset( new RadioEngineWrapper( mStationModel->stationHandlerIf() ) ); |
88 mEngineWrapper.reset( new RadioEngineWrapper( mStationModel->stationHandlerIf() ) ); |