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.

40 lines
743 B

  1. /*
  2. * REVISIONS:
  3. * pcy17Nov92: Equal() now uses const reference and is const
  4. * pcy08Apr94: Trim size, use static iterators, dead code removal
  5. * mwh05May94: #include file madness , part 2
  6. */
  7. #ifndef __CONTRLR_H
  8. #define __CONTRLR_H
  9. _CLASSDEF(Controller)
  10. #include "update.h"
  11. #if (C_NETWORK & C_IPX)
  12. _CLASSDEF(NetAddr)
  13. _CLASSDEF(SpxSocket)
  14. #endif
  15. class Event;
  16. class Dispatcher;
  17. class Controller : public UpdateObj
  18. {
  19. public:
  20. Controller();
  21. virtual INT Initialize() = 0;
  22. virtual INT Get(INT code, CHAR* value) = 0;
  23. virtual INT Set(INT code, const PCHAR value) = 0;
  24. #if (C_NETWORK & C_IPX)
  25. virtual PNetAddr GetNetAddr(PCHAR) = 0;
  26. virtual PSpxSocket GetTheSocket(VOID) = 0;
  27. #endif
  28. };
  29. #endif