Changed something cannot remember what
[qtmeetings] / src / BusinessLogic / Engine.h
index 90f6342..3efc471 100644 (file)
@@ -17,8 +17,10 @@ class UIManager;
 
 //! BusinessLogic class. Contains all the business logic of the application.
 /*!
- * BusinessLogic class. Contains all the business logic of the application. It is responsible
- * for connecting user interface to lower application layers (IO).
+ * BusinessLogic class. Contains all the business logic of the application. This class handles
+ * the logic of the application according received calls to the slots. This class also maintains
+ * the instances of managers, timers and its own set of meeting list. The managers handles
+ * their tasks in more detailed manner.
  */
 class Engine : public QObject
 {
@@ -67,12 +69,6 @@ private slots:
         * \param aAddInfo Possible addition info.
         */
        void errorHandler( int aCode, const QString &aAddInfo = "" );
-       //! Slot. Fetches meetings from the server.
-       /*!
-        * Slot. Fetches meetings from the server. Parameters are hard coded: the meetings of the default
-        * room from current and +/- 2 weeks are fetched.
-        */
-       void fetchMeetings();
        //! Slot. Saves fetched meetings to the current instance's local storage.
        /*!
         * Slot. Saves fetched meetings to the current instance's local storage. Meetings are soted in a
@@ -122,6 +118,8 @@ private slots:
 
        void changeDeviceMode( bool aChange );
        
+       void currentRoomChanged( Room *aRoom );
+       
 private:
        // Make the UIManager as friendly class so it can connect to private slots.
        friend class UIManager;
@@ -202,6 +200,8 @@ private:
        QTimer *iAutoRefresh;
 
        QList<Meeting*> iMeetings;
+       
+       Room *iCurrentRoom;
 };
 
 #endif /*ENGINE_H_*/