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.

43 lines
890 B

  1. //
  2. // enumss.h
  3. //
  4. // CEnumSpanSetRanges
  5. //
  6. #ifndef ENUMSS_H
  7. #define ENUMSS_H
  8. #include "private.h"
  9. #include "spans.h"
  10. #include "ic.h"
  11. class CEnumSpanSetRanges : private CSpanSet,
  12. public IEnumTfRanges,
  13. public CComObjectRootImmx
  14. {
  15. public:
  16. CEnumSpanSetRanges(CInputContext *pic);
  17. ~CEnumSpanSetRanges();
  18. BEGIN_COM_MAP_IMMX(CEnumSpanSetRanges)
  19. COM_INTERFACE_ENTRY(IEnumTfRanges)
  20. END_COM_MAP_IMMX()
  21. IMMX_OBJECT_IUNKNOWN_FOR_ATL()
  22. // IEnumTfRanges
  23. STDMETHODIMP Clone(IEnumTfRanges **ppEnum);
  24. STDMETHODIMP Next(ULONG ulCount, ITfRange **ppRange, ULONG *pcFetched);
  25. STDMETHODIMP Reset();
  26. STDMETHODIMP Skip(ULONG ulCount);
  27. void _Merge(CSpanSet *pss);
  28. private:
  29. CInputContext *_pic;
  30. int _iCur;
  31. DBG_ID_DECLARE;
  32. };
  33. #endif // ENUMSS_H