equal
deleted
inserted
replaced
19 #define CNTSERVICEVIEWFACTORY_H_ |
19 #define CNTSERVICEVIEWFACTORY_H_ |
20 |
20 |
21 #include "cntabstractviewfactory.h" |
21 #include "cntabstractviewfactory.h" |
22 |
22 |
23 class CntAbstractView; |
23 class CntAbstractView; |
24 class CntServiceHandler; |
24 class CntAbstractServiceProvider; |
25 |
25 |
26 class CntServiceViewFactory : public CntDefaultViewFactory |
26 class CntServiceViewFactory : public CntDefaultViewFactory |
27 { |
27 { |
28 public: |
28 public: |
29 CntServiceViewFactory( CntServiceHandler* aService ); |
29 CntServiceViewFactory( CntAbstractServiceProvider& aServiceProvider ); |
30 ~CntServiceViewFactory(); |
30 ~CntServiceViewFactory(); |
31 |
31 |
32 public: |
32 public: |
33 CntAbstractView* createView( int aViewId ); |
33 CntAbstractView* createView( int aViewId ); |
34 |
34 |
35 private: |
35 private: |
36 CntServiceHandler* mService; |
36 CntAbstractServiceProvider& mProvider; |
37 }; |
37 }; |
38 #endif /* CNTSERVICEVIEWFACTORY_H_ */ |
38 #endif /* CNTSERVICEVIEWFACTORY_H_ */ |