viewfile.h

Go to the documentation of this file.
00001 //-----------------------------------------------------------------------------
00002 // ---------------------
00003 // File ....: ViewFile.h
00004 // ---------------------
00005 // Author...: Gus J Grubba
00006 // Date ....: September 1995
00007 // O.S. ....: Windows NT 3.51
00008 //
00009 // History .: Nov, 02 1995 - Created
00010 //
00011 // This is the "View File" option in MAX's File menu.
00012 //
00013 //-----------------------------------------------------------------------------
00014 
00015 #pragma once
00016 #include "maxheap.h"
00017 #include <WTypes.h>
00018 
00019 #ifndef  VWFEXPORT
00020 #define  VWFEXPORT __declspec( dllimport )
00021 #endif
00022 
00023 //-----------------------------------------------------------------------------
00024 //--  Base Class Definition ---------------------------------------------------
00025 //-----------------------------------------------------------------------------
00026 // #> ViewFile
00027 //
00028      
00057 class ViewFile: public MaxHeapOperators {
00058 
00059      private:   
00060         
00061         //-- Windows Specific -------------------------------------------------
00062         
00063         HWND              hWnd;
00064 
00065      public:
00066 
00067         //-- Constructors/Destructors -----------------------------------------
00068 
00069         VWFEXPORT         ViewFile           ( );
00070         VWFEXPORT        ~ViewFile           ( );
00071      
00072         //-- The Method -------------------------------------------------------
00073         //
00074 
00081         VWFEXPORT void    View              ( HWND hWnd );
00082 
00083 };
00084 
00085 //-----------------------------------------------------------------------------
00086 //-- Interface
00087 
00088 VWFEXPORT void *ViewFileCreate  ( );
00089 VWFEXPORT void  ViewFileDestroy ( ViewFile *v);
00090 
00091 
00092 //-- EOF: ViewFile.h ----------------------------------------------------------