Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Magic.h
Go to the documentation of this file.
1 /* Project Magic 2.0
2  Destroyer Studios LLC
3  Copyright © 1997-2004. All Rights Reserved.
4 
5  SUBSYSTEM: Magic.exe
6  FILE: Magic.h
7  AUTHOR: John DiCamillo
8 
9 
10  OVERVIEW
11  ========
12  Interface of the main application class
13 */
14 
15 
16 #if !defined(AFX_MAGIC_H__E61FB5C3_42B6_42D1_BEFA_17F0B038E33B__INCLUDED_)
17 #define AFX_MAGIC_H__E61FB5C3_42B6_42D1_BEFA_17F0B038E33B__INCLUDED_
18 
19 #if _MSC_VER > 1000
20 #pragma once
21 #endif // _MSC_VER > 1000
22 
23 #ifndef __AFXWIN_H__
24  #error include 'stdafx.h' before including this file for PCH
25 #endif
26 
27 #include "resource.h" // main symbols
28 
29 
30 class Magic : public CWinApp
31 {
32 public:
33  Magic();
34  virtual ~Magic();
35 
36  bool AppActivated() const { return app_active; }
37  void SetAppActivated(bool a) { app_active = a; }
38 
39 // Overrides
40  // ClassWizard generated virtual function overrides
41  //{{AFX_VIRTUAL(Magic)
42  public:
43  virtual BOOL InitInstance();
44  virtual BOOL OnIdle(LONG lCount);
45  //}}AFX_VIRTUAL
46 
47 // Implementation
48  //{{AFX_MSG(Magic)
49  afx_msg void OnAppAbout();
50  // NOTE - the ClassWizard will add and remove member functions here.
51  // DO NOT EDIT what you see in these blocks of generated code !
52  //}}AFX_MSG
53  DECLARE_MESSAGE_MAP()
54 
55 private:
56  bool app_active;
57 };
58 
59 
60 //{{AFX_INSERT_LOCATION}}
61 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
62 
63 #endif // !defined(AFX_MAGIC_H__E61FB5C3_42B6_42D1_BEFA_17F0B038E33B__INCLUDED_)