Changeset 5932 for branches/newapi

Show
Ignore:
Timestamp:
12/04/07 04:30:21 (12 months ago)
Author:
erijo
Message:

Removed unneccessary method EventQueue::commitAllEvents().

Location:
branches/newapi/licq
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • branches/newapi/licq/licq/event/eventqueue.h

    r5931 r5932  
    6060  virtual void commitEvent() = 0; 
    6161 
    62   /** 
    63    * Commit all events in the queue. Same precondition, with regard to 
    64    * event references, as commitEvent() apply. 
    65    */ 
    66   virtual void commitAllEvents() = 0; 
    67  
    6862protected: 
    6963  virtual ~EventQueue() { /* Empty */ } 
  • branches/newapi/licq/src/event/eventqueue.cpp

    r5931 r5932  
    8585} 
    8686 
    87 void LicqDaemon::EventQueue::commitAllEvents() 
    88 { 
    89   Licq::MutexLocker locker(&myQueueMutex); 
    90   while (!myQueue.empty()) 
    91     commitEventInternal(); 
    92 } 
    93  
    9487void LicqDaemon::EventQueue::commitEventInternal() 
    9588{ 
  • branches/newapi/licq/src/event/eventqueue.h

    r5931 r5932  
    4343  boost::shared_ptr<Licq::Event> getEvent() const; 
    4444  void commitEvent(); 
    45   void commitAllEvents(); 
    4645 
    4746private: