Alphabetical Class Index   File Members   Compound Members   File List  

CHoopsApp.h
00001 // Copyright (c) 1998-2014 by Tech Soft 3D, Inc.
00002 //
00003 // The information contained herein is confidential and proprietary to Tech Soft 3D, Inc.,
00004 // and considered a trade secret as defined under civil and criminal statutes.
00005 // Tech Soft 3D, Inc. shall pursue its civil and criminal remedies in the event of
00006 // unauthorized use or misappropriation of its trade secrets.  Use of this information
00007 // by anyone other than authorized employees of Tech Soft 3D, Inc. is granted only under
00008 // a written non-disclosure agreement, expressly prescribing the scope and manner of such use.
00009 
00010 // CHoopsApp.h : interface of the CHoopsApp class, derived from CWinApp
00011 // Adds encapsulation of the main HOOPS database object
00012 
00013 #ifndef __AFXWIN_H__
00014     #error include 'stdafx.h' before including this file for PCH
00015 #endif
00016 
00017 #ifndef hoops_app
00018 #define hoops_app
00019 
00020 //#include "resource.h"      
00021 #include "hc.h"
00022 #include "HMFCGlobals.h"
00023 
00027 #define WM_DOREALIZE    (WM_USER + 0)
00028 
00032 #define WMF             0
00033 
00037 #define EMF             1
00038 
00039 
00040 class HDB;
00041 class CTDriver;
00042 
00044 // CHoopsApp:
00045 // See hoops.cpp for the implementation of this class
00046 //
00047 
00049 
00054 class HMFC_API CHoopsApp : public CWinApp
00055 {
00056 
00057 protected:
00058     
00060     HDB*    m_pHoopsDB;     
00061     CTDriver *m_pCTDriver;  
00062 
00063 public:
00064 
00065     CHoopsApp();
00066 
00067 
00069     HDB*    GetHoopsDB() { return m_pHoopsDB; }
00070 
00072     CTDriver* GetCTDriver() {return m_pCTDriver; }
00073 
00074    
00075 // Overrides
00076     // ClassWizard generated virtual function overrides
00077     //{{AFX_VIRTUAL(CHoopsApp)
00078     public:
00079     virtual BOOL InitInstance();  
00080     virtual int ExitInstance();   
00081     //}}AFX_VIRTUAL
00082 
00083 // Implementation
00084 
00085     //{{AFX_MSG(CHoopsApp)
00086     //}}AFX_MSG
00087     DECLARE_MESSAGE_MAP()
00088 };
00089 
00090 #endif
00091 
00092