Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
970 B

  1. // QueueFolder.h: interface for the CQueueFolder class.
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_QUEUEFOLDER_H__D91FC386_B879_4485_B32F_9A53F59554E3__INCLUDED_)
  5. #define AFX_QUEUEFOLDER_H__D91FC386_B879_4485_B32F_9A53F59554E3__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. class CQueueFolder : public CFolder
  10. {
  11. public:
  12. CQueueFolder(
  13. FolderType type,
  14. DWORD dwJobTypes
  15. ) :
  16. CFolder(type),
  17. m_dwJobTypes(dwJobTypes)
  18. {}
  19. virtual ~CQueueFolder() { PreDestruct(); }
  20. DECLARE_DYNAMIC(CQueueFolder)
  21. DWORD Refresh ();
  22. DWORD OnJobAdded (DWORDLONG dwlMsgId);
  23. DWORD OnJobUpdated (DWORDLONG dwlMsgId, PFAX_JOB_STATUS pNewStatus);
  24. private:
  25. DWORD m_dwJobTypes; // Bit mask of JT_* values to retrieve
  26. };
  27. #endif // !defined(AFX_QUEUEFOLDER_H__D91FC386_B879_4485_B32F_9A53F59554E3__INCLUDED_)