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.

66 lines
1.3 KiB

  1. /*
  2. * REVISIONS:
  3. * ane20Jan93: Initial Revision
  4. * ajr22Feb93: Gave var init its own scope in case statement
  5. * pcy07Sep93: Only include FILE and LINE in error message if DEBUG
  6. * cad28Sep93: plugged a leak
  7. * jod12Nov93: Name Problem Changed name to ErrTextGen
  8. * ajr06Dec93: Added errno string on Unix system errors.
  9. * pcy08Apr94: Trim size, use static iterators, dead code removal
  10. * ajr25Dec94: Changes for SUNOS4
  11. * mwh05May94: #include file madness , part 2
  12. * mwh06May94: port for SUNOS4 - XOL
  13. * cad16Jun94: made error string buffer bigger, some debug msgs needed it!
  14. * inf30Mar97: Added overloaded LogError implementation
  15. */
  16. #include "cdefine.h"
  17. #include "errlogr.h"
  18. #include "err.h"
  19. PErrorLogger _theErrorLogger = NULL;
  20. //
  21. //Constructor
  22. //
  23. ErrorLogger::ErrorLogger(PUpdateObj aParentObject)
  24. {
  25. _theErrorLogger = this;
  26. }
  27. //
  28. //Destructor
  29. //
  30. ErrorLogger::~ErrorLogger()
  31. {
  32. }
  33. INT ErrorLogger::LogError(INT resourceID, PCHAR aString, PCHAR aFile, INT aLineNumber, INT use_errno)
  34. {
  35. return ErrNO_ERROR;
  36. }
  37. INT ErrorLogger::LogError(PCHAR anError, PCHAR aFile, INT aLineNumber, INT use_errno)
  38. {
  39. return ErrNO_ERROR;
  40. }
  41. //
  42. // Get some attribute values
  43. //
  44. INT ErrorLogger::Get(INT aCode, PCHAR aValue)
  45. {
  46. return ErrNO_ERROR;
  47. }
  48. //
  49. // Set some attribute values
  50. //
  51. INT ErrorLogger::Set(INT aCode, PCHAR aValue)
  52. {
  53. return ErrNO_ERROR;
  54. }