Changeset 5932 for branches/newapi
- Timestamp:
- 12/04/07 04:30:21 (12 months ago)
- Location:
- branches/newapi/licq
- Files:
-
- 3 modified
-
licq/event/eventqueue.h (modified) (1 diff)
-
src/event/eventqueue.cpp (modified) (1 diff)
-
src/event/eventqueue.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/newapi/licq/licq/event/eventqueue.h
r5931 r5932 60 60 virtual void commitEvent() = 0; 61 61 62 /**63 * Commit all events in the queue. Same precondition, with regard to64 * event references, as commitEvent() apply.65 */66 virtual void commitAllEvents() = 0;67 68 62 protected: 69 63 virtual ~EventQueue() { /* Empty */ } -
branches/newapi/licq/src/event/eventqueue.cpp
r5931 r5932 85 85 } 86 86 87 void LicqDaemon::EventQueue::commitAllEvents()88 {89 Licq::MutexLocker locker(&myQueueMutex);90 while (!myQueue.empty())91 commitEventInternal();92 }93 94 87 void LicqDaemon::EventQueue::commitEventInternal() 95 88 { -
branches/newapi/licq/src/event/eventqueue.h
r5931 r5932 43 43 boost::shared_ptr<Licq::Event> getEvent() const; 44 44 void commitEvent(); 45 void commitAllEvents();46 45 47 46 private:
