logsui/logsengine/logssymbianos/inc/logsreaderstatecontext.h
changeset 9 68f3171a5819
parent 0 4a5361db8937
--- a/logsui/logsengine/logssymbianos/inc/logsreaderstatecontext.h	Thu Jun 24 14:44:14 2010 +0300
+++ b/logsui/logsengine/logssymbianos/inc/logsreaderstatecontext.h	Thu Jul 08 11:31:03 2010 +0300
@@ -24,14 +24,9 @@
 
 // FORWARD DECLARATION
 class LogsReaderStateBase;
-class CLogView;
-class CLogViewDuplicate;
-class CLogViewEvent;
 class LogsEvent;
 class LogsEventStrings;
-class TRequestStatus;
 class LogsReaderObserver;
-class CLogClient;
 
 // CLASS DECLARATION
 
@@ -45,7 +40,6 @@
     QString mRemoteParty;
     unsigned int mContactLocalId;
 };
-        
 
 /**
  * Context for reader state machine
@@ -54,48 +48,17 @@
     public:
         
         /**
-         * Change state
-         * @param state, new state
-         */
-        virtual void setCurrentState(const LogsReaderStateBase& state) = 0;
-        
-        /**
-         * Get log view
-         * @return current log view
-         */
-        virtual CLogView& logView() = 0;
-        
-        /**
-         * Get duplicates view
-         * @return current duplicates view
-         */
-        virtual CLogViewDuplicate& duplicatesView() = 0;
-        
-        /**
          * Get event container
          * @return events
          */
         virtual QList<LogsEvent*>& events() = 0;
         
         /**
-         * Get view index
-         * @return ref to view index
-         */
-        virtual int& index() = 0;
-        
-        /**
          * Get commonly used strings
          * @return strings
          */
         virtual LogsEventStrings& strings() = 0;
-        
-        /**
-         * Request status for async operations
-         * inside states
-         * @return reqstatus
-         */
-        virtual TRequestStatus& reqStatus() = 0;
-        
+
         /**
          * Get observer
          * @return observer
@@ -109,24 +72,6 @@
         virtual QHash<QString, ContactCacheEntry>& contactCache() = 0;
         
         /**
-         * Get ID of the event to be handled
-         * @return ID of the event
-         */
-        virtual int currentEventId() = 0;
-        
-        /**
-         * Get log client
-         * @return log client
-         */
-        virtual CLogClient& logClient() = 0;
-        
-        /**
-         * Check if current view is recent view.
-         * @return true if recent view
-         */
-        virtual bool isRecentView() = 0;
-        
-        /**
          * Get event container for duplicated events
          * @return duplicated events
          */