home *** CD-ROM | disk | FTP | other *** search
/ Hackers Magazine 57 / CdHackersMagazineNr57.iso / Software / Multimedia / k3d-setup-0.7.11.0.exe / include / k3d / k3dsdk / ihint.h < prev    next >
C/C++ Source or Header  |  2008-07-13  |  488b  |  29 lines

  1. #ifndef K3DSDK_IHINT_H
  2. #define K3DSDK_IHINT_H
  3.  
  4. #include "iunknown.h"
  5. #include <iosfwd>
  6.  
  7. namespace k3d
  8. {
  9.  
  10. /// Abstract interface implemented by objects that can act as "hints" for change events
  11. class ihint :
  12.     public virtual iunknown
  13. {
  14. public:
  15.     virtual ~ihint() {}
  16.     virtual ihint* clone() = 0;
  17.     virtual void print(std::ostream& Stream) = 0;
  18.  
  19. protected:
  20.     ihint() {}
  21.     ihint(const ihint&) {}
  22.     ihint& operator=(const ihint&) { return *this; }
  23. };
  24.  
  25. } // namespace k3d
  26.  
  27. #endif // !K3DSDK_IHINT_H
  28.  
  29.