viewfile.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. //-----------------------------------------------------------------------------
  2. // ---------------------
  3. // File ....: ViewFile.h
  4. // ---------------------
  5. // Author...: Gus J Grubba
  6. // Date ....: September 1995
  7. // O.S. ....: Windows NT 3.51
  8. //
  9. // History .: Nov, 02 1995 - Created
  10. //
  11. // This is the "View File" option in MAX's File menu.
  12. //
  13. //-----------------------------------------------------------------------------
  14. #ifndef _VIEWFINCLUDE_
  15. #define _VIEWFINCLUDE_
  16. #ifndef VWFEXPORT
  17. #define VWFEXPORT __declspec( dllimport )
  18. #endif
  19. //-----------------------------------------------------------------------------
  20. //-- Base Class Definition ---------------------------------------------------
  21. //-----------------------------------------------------------------------------
  22. // #> ViewFile
  23. //
  24. class ViewFile {
  25. private:
  26. //-- Windows Specific -------------------------------------------------
  27. HWND hWnd;
  28. public:
  29. //-- Constructors/Destructors -----------------------------------------
  30. VWFEXPORT ViewFile ( );
  31. VWFEXPORT ~ViewFile ( );
  32. //-- The Method -------------------------------------------------------
  33. //
  34. VWFEXPORT void View ( HWND hWnd );
  35. };
  36. //-----------------------------------------------------------------------------
  37. //-- Interface
  38. VWFEXPORT void *ViewFileCreate ( );
  39. VWFEXPORT void ViewFileDestroy ( ViewFile *v);
  40. #endif
  41. //-- EOF: ViewFile.h ----------------------------------------------------------