Alphabetical Class Index   File Members   Compound Members   File List  

CHoopsApp.h

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