calendarui/controller/inc/calencontroller.h
changeset 26 a949c2543c15
parent 23 fd30d51f876b
child 37 360d55486d7f
equal deleted inserted replaced
23:fd30d51f876b 26:a949c2543c15
    60  */
    60  */
    61 class CALENCONTROLLER_EXPORT CCalenController : public MCalenServicesFactory
    61 class CALENCONTROLLER_EXPORT CCalenController : public MCalenServicesFactory
    62     {
    62     {
    63   
    63   
    64     public:  // Construction and destruction
    64     public:  // Construction and destruction
    65 	/**
    65 		/**
    66 		 * C++ constructor
    66 		 * C++ constructor
    67 		 */
    67 		 */
    68 		CCalenController(bool isFromServiceFrmwrk);
    68 		CCalenController(bool isFromServiceFrmwrk);
    69 		
    69 		
    70 		/**
    70 		/**
    71 			 * Constructs CCalenController with existing CAknViewAppUi. If the
    71 		 * Constructs CCalenController with existing CAknViewAppUi. If the
    72 			 * controller has been previously initialized with the same CAknViewAppUi,
    72 		 * controller has been previously initialized with the same CAknViewAppUi,
    73 			 * the existing instance will be returned.
    73 		 * the existing instance will be returned.
    74 			 * @param aAppUi Reference to CAknViewAppUi
    74 		 * @param aAppUi Reference to CAknViewAppUi
    75 			 * @return CCalenController pointer
    75 		 * @return CCalenController pointer
    76 			 */
    76 		 */
    77 			static CCalenController* InstanceL();
    77 		static CCalenController* InstanceL();
    78 
    78 
    79 			/**
    79 		 
    80 			 * CCalenController is a reference counting singleton. Call Release()
    80 		 /**
    81 			 * when you are done with it, it will clean itself when it needs to
    81 		 * Releases all plugins, should only be called when 
    82 			 */
    82 		 * the application is exiting.
    83 			 void Release();
    83 		 */
       
    84 		void ReleaseCustomisations();
       
    85 
       
    86 		/**
       
    87 		 * CCalenController is a reference counting singleton. Call Release()
       
    88 		 * when you are done with it, it will clean itself when it needs to
       
    89 		 */
       
    90 		void Release();
    84 		
    91 		
    85 		/**
    92 		/**
    86 		 * destructor
    93 		 * destructor
    87 		 */
    94 		 */
    88 		~CCalenController(); 
    95 		~CCalenController();