Source code of Windows XP (NT5)
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.

60 lines
1.4 KiB

  1. //
  2. // MODULE: LocalLSTReader.H
  3. //
  4. // PURPOSE: Interface of the CLocalLSTReader class.
  5. //
  6. // PROJECT: Generic Troubleshooter DLL for Microsoft AnswerPoint - Local TS only
  7. //
  8. // COMPANY: Saltmine Creative, Inc. (206)-284-7511 [email protected]
  9. //
  10. // AUTHOR: Oleg Kalosha
  11. //
  12. // ORIGINAL DATE: 01-22-99
  13. //
  14. // NOTES:
  15. //
  16. // Version Date By Comments
  17. //--------------------------------------------------------------------
  18. // V3.1 01-22-99 OK Original
  19. //
  20. //////////////////////////////////////////////////////////////////////
  21. #if !defined(AFX_LOCALLSTREADER_H__9E418C73_B256_11D2_8C8D_00C04F949D33__INCLUDED_)
  22. #define AFX_LOCALLSTREADER_H__9E418C73_B256_11D2_8C8D_00C04F949D33__INCLUDED_
  23. #if _MSC_VER > 1000
  24. #pragma once
  25. #endif // _MSC_VER > 1000
  26. #include "apgtslstread.h"
  27. class CLocalTopicInfo : public CTopicInfo
  28. {
  29. CString m_TopicFileExtension;
  30. public:
  31. CLocalTopicInfo(CString ext) : CTopicInfo(), m_TopicFileExtension(ext) {}
  32. public:
  33. virtual bool Init(CString & strResourcePath, vector<CString> & vecstrWords);
  34. };
  35. class CLocalLSTReader : public CAPGTSLSTReader
  36. {
  37. CString m_strTopicName;
  38. CString m_strTopicFileExtension;
  39. public:
  40. CLocalLSTReader(CPhysicalFileReader* pPhysicalFileReader, const CString& strTopicName);
  41. protected:
  42. virtual void Open();
  43. virtual void ReadData(LPTSTR * ppBuf);
  44. virtual void Close();
  45. virtual CTopicInfo* GenerateTopicInfo();
  46. };
  47. #endif // !defined(AFX_LOCALLSTREADER_H__9E418C73_B256_11D2_8C8D_00C04F949D33__INCLUDED_)