Alphabetical Class Index   File Members   Compound Members   File List  

CHoopsApp.h
1 // Copyright (c) 1998-2014 by Tech Soft 3D, Inc.
2 //
3 // The information contained herein is confidential and proprietary to Tech Soft 3D, Inc.,
4 // and considered a trade secret as defined under civil and criminal statutes.
5 // Tech Soft 3D, Inc. shall pursue its civil and criminal remedies in the event of
6 // unauthorized use or misappropriation of its trade secrets. Use of this information
7 // by anyone other than authorized employees of Tech Soft 3D, Inc. is granted only under
8 // a written non-disclosure agreement, expressly prescribing the scope and manner of such use.
9 
10 // CHoopsApp.h : interface of the CHoopsApp class, derived from CWinApp
11 // Adds encapsulation of the main HOOPS database object
12 
13 #ifndef __AFXWIN_H__
14  #error include 'stdafx.h' before including this file for PCH
15 #endif
16 
17 #ifndef hoops_app
18 #define hoops_app
19 
20 //#include "resource.h"
21 #include "hc.h"
22 #include "HMFCGlobals.h"
23 
27 #define WM_DOREALIZE (WM_USER + 0)
28 
32 #define WMF 0
33 
37 #define EMF 1
38 
39 
40 class HDB;
41 class CTDriver;
42 
44 // CHoopsApp:
45 // See hoops.cpp for the implementation of this class
46 //
47 
49 
54 class HMFC_API CHoopsApp : public CWinApp
55 {
56 
57 protected:
58 
62 
63 public:
64 
65  CHoopsApp();
66 
67 
69  HDB* GetHoopsDB() { return m_pHoopsDB; }
70 
72  CTDriver* GetCTDriver() {return m_pCTDriver; }
73 
74 
75 // Overrides
76  // ClassWizard generated virtual function overrides
77  //{{AFX_VIRTUAL(CHoopsApp)
78  public:
79  virtual BOOL InitInstance();
80  virtual int ExitInstance();
81  //}}AFX_VIRTUAL
82 
83 // Implementation
84 
85  //{{AFX_MSG(CHoopsApp)
86  //}}AFX_MSG
87  DECLARE_MESSAGE_MAP()
88 };
89 
90 #endif
91 
92 
Definition: CTDriver.h:13
HDB * m_pHoopsDB
Definition: CHoopsApp.h:60
The CHoopsApp class provides a HOOPS-specific implementation of the CWinApp object.
Definition: CHoopsApp.h:54
CTDriver * GetCTDriver()
Definition: CHoopsApp.h:72
HDB * GetHoopsDB()
Definition: CHoopsApp.h:69
CTDriver * m_pCTDriver
Pointer to the CTDriver timer service class.
Definition: CHoopsApp.h:61