home *** CD-ROM | disk | FTP | other *** search
/ Beginning C++ Through Gam…rogramming (2nd Edition) / BCGP2E.ISO / bloodshed / devcpp-4.9.9.2_setup.exe / Templates / Dll_hpp.txt < prev    next >
Text File  |  2003-01-12  |  338b  |  23 lines

  1. #ifndef _DLL_H_
  2. #define _DLL_H_
  3.  
  4. #if BUILDING_DLL
  5. # define DLLIMPORT __declspec (dllexport)
  6. #else /* Not BUILDING_DLL */
  7. # define DLLIMPORT __declspec (dllimport)
  8. #endif /* Not BUILDING_DLL */
  9.  
  10.  
  11. class DLLIMPORT DllClass
  12. {
  13.   public:
  14.     DllClass();
  15.     virtual ~DllClass(void);
  16.  
  17.   private:
  18.  
  19. };
  20.  
  21.  
  22. #endif /* _DLL_H_ */
  23.