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.

30 lines
916 B

  1. //-----------------------------------------------------------------------------
  2. //
  3. // File: PasStrMerge.h
  4. // Copyright (C) 1994-1998 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // Declaration of a class which handles the merge of two Pascal strings.
  8. //
  9. //-----------------------------------------------------------------------------
  10. #ifndef LOCUTIL_PasStrMerge_h_INCLUDED
  11. #define LOCUTIL_PasStrMerge_h_INCLUDED
  12. class LTAPIENTRY CPascalStringMerge
  13. {
  14. public:
  15. static BOOL NOTHROW Merge(CPascalString &, const CPascalString &);
  16. static BOOL NOTHROW Merge(CPascalString & pasDestination,
  17. CPascalString const & pasSource, UINT const nMaxLength,
  18. CReport * const pReport, CLString const & strContext,
  19. CGoto * const pGoto = NULL);
  20. private:
  21. static BOOL NOTHROW IsParagraph(const CPascalString &, const CPascalString &);
  22. };
  23. #endif // #ifndef LOCUTIL_PasStrMerge_h_INCLUDED