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.

29 lines
763 B

  1. #ifndef __PP_BASE_H__
  2. #define __PP_BASE_H__
  3. #include <atlbase.h>
  4. #include <shellapi.h> // atlwin.h needs DragAcceptFiles
  5. #include <atlwin.h>
  6. #include <atldlgs.h>
  7. #include "resource.h"
  8. class CBasePropertyPageInterface
  9. {
  10. public:
  11. // Constructor/destructor
  12. CBasePropertyPageInterface( ) { m_previousIDD = m_nextIDD = 0; }
  13. virtual ~CBasePropertyPageInterface( ) {}
  14. virtual long GetIDD ( ) = 0;
  15. virtual void SetPrevious ( long IDD ) { m_previousIDD = IDD; }
  16. virtual long GetPrevious ( ) { return m_previousIDD; }
  17. virtual void SetNext ( long IDD ) { m_nextIDD = IDD; }
  18. virtual long GetNext ( ) { return m_nextIDD; }
  19. private:
  20. long m_previousIDD, m_nextIDD;
  21. };
  22. #endif