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.

41 lines
1.1 KiB

  1. //-----------------------------------------------------------------------------
  2. //
  3. // File: LocStrVal.h
  4. // Copyright (C) 1994-1997 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // Written by: jstall
  8. //
  9. //-----------------------------------------------------------------------------
  10. #if !defined (PARSUTIL_LOCSTRVAL_H)
  11. #define PARSUTIL_LOCSTRVAL_H
  12. #include "LocChild.h"
  13. #pragma warning(disable : 4275)
  14. ////////////////////////////////////////////////////////////////////////////////
  15. class LTAPIENTRY CPULocStringValidation : public CPULocChild, public ILocStringValidation
  16. {
  17. // Construction
  18. public:
  19. CPULocStringValidation(CPULocParser * pParent);
  20. DECLARE_CLUNKNOWN();
  21. // COM Interfaces
  22. public:
  23. // Standard Debugging interface.
  24. void STDMETHODCALLTYPE AssertValidInterface() const;
  25. // ILocStringValidation
  26. CVC::ValidationCode STDMETHODCALLTYPE ValidateString(
  27. const CLocTypeId &ltiType, const CLocTranslation &trTrans,
  28. CReporter *pReporter, const CContext &context);
  29. };
  30. ////////////////////////////////////////////////////////////////////////////////
  31. #pragma warning(default : 4275)
  32. #endif