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.

65 lines
1.5 KiB

  1. //////////////////////////////////////////////////////////////////////
  2. // Query.h: interface for the CQuery class.
  3. //
  4. // Created by JOEM 03-2000
  5. // Copyright (C) 2000 Microsoft Corporation
  6. // All Rights Reserved
  7. //
  8. /////////////////////////////////////////////////////// JOEM 3-2000 //
  9. #if !defined(AFX_QUERY_H__F65AE4EC_2D69_4DAC_B1E2_8BB07D22B51B__INCLUDED_)
  10. #define AFX_QUERY_H__F65AE4EC_2D69_4DAC_B1E2_8BB07D22B51B__INCLUDED_
  11. #if _MSC_VER > 1000
  12. #pragma once
  13. #endif // _MSC_VER > 1000
  14. #include "PromptEntry.h"
  15. #include <spddkhlp.h>
  16. #include <spcollec.h>
  17. enum FragType
  18. {
  19. SAPI_FRAG = 0,
  20. LOCAL_FRAG,
  21. COMBINED_FRAG
  22. };
  23. enum XMLStatus
  24. {
  25. NOT_XML = 0,
  26. KNOWN_XML,
  27. UNKNOWN_XML,
  28. SILENCE
  29. };
  30. class CQuery
  31. {
  32. public:
  33. CQuery();
  34. CQuery(const CQuery& old);
  35. ~CQuery();
  36. public:
  37. XMLStatus m_fXML;
  38. bool m_fTTS;
  39. bool m_fSpeak;
  40. FragType m_fFragType;
  41. WCHAR* m_pszExpandedText;
  42. WCHAR* m_pszDbName;
  43. WCHAR* m_pszDbPath;
  44. WCHAR* m_pszDbIdSet;
  45. WCHAR* m_pszId;
  46. USHORT m_unDbAction;
  47. USHORT m_unDbIndex;
  48. ULONG m_ulTextOffset;
  49. ULONG m_ulTextLen;
  50. SPVTEXTFRAG* m_pTextFrag;
  51. CSPArray<CDynStr,CDynStr>* m_paTagList;
  52. CSPArray<CPromptEntry*,CPromptEntry*> m_apEntry;
  53. CSPArray<bool,bool> m_afEntryMatch;
  54. };
  55. #endif // !defined(AFX_QUERY_H__F65AE4EC_2D69_4DAC_B1E2_8BB07D22B51B__INCLUDED_)