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.

42 lines
858 B

  1. /*++
  2. Copyright (c) 2001 Microsoft Corporation
  3. Module Name :
  4. basefunc.hxx
  5. Abstract:
  6. This is the abstract base class that is used as the base for all
  7. the other functions
  8. Author:
  9. Christopher Achille (cachille)
  10. Project:
  11. Internet Services Setup
  12. Revision History:
  13. June 2001: Created
  14. --*/
  15. // class: CBaseFunction
  16. //
  17. // This is the base class of all of the worker functions. In order
  18. // for a function to execute, a class must be made to do the work.
  19. //
  20. class CBaseFunction {
  21. private:
  22. virtual BOOL VerifyParameters(CItemList &ciParams);
  23. virtual BOOL DoInternalWork(CItemList &ciList) = 0;
  24. BOOL LoadParams(CItemList &ciList, LPTSTR szParams);
  25. public:
  26. BOOL DoWork(LPTSTR szParams);
  27. virtual LPTSTR GetMethodName() = 0;
  28. };