/*************************************************************************** * E-Com Technology Ltd. * * ECOMPACS DICOM Utility Libraries ***************************************************************************/ #ifndef _INCLUDE_GENERAL_WORKLIST_MESSAGE_SERVICE_ #define _INCLUDE_GENERAL_WORKLIST_MESSAGE_SERVICE_ class GeneralWorklistMessageAgent; class DICOM_API GeneralWorklistMessageService { public: GeneralWorklistMessageService (); virtual ~GeneralWorklistMessageService(); virtual BOOL Start (ServerPriority Priority); virtual BOOL Stop (void); virtual BOOL Suspend (void); virtual BOOL Resume (void); virtual BOOL Restart (void); protected: virtual void OnWorklistMessage (const DICOMDataSet * DDS) { } int RunCycle (void * Arg); void GetEventName (DString & EventName) const; private: static GeneralWorklistMessageAgent * m_pAgent; friend class GeneralWorklistMessageAgent; }; #endif