SBSPSS/Utils/MapEdit/MapEdit.h

67 lines
1.7 KiB
C
Raw Normal View History

2000-09-22 17:11:29 +02:00
// MapEdit.h : main header file for the MAPEDIT application
//
#if !defined(AFX_MAPEDIT_H__CFB33904_F24D_45E4_B777_DA7AC0133F3C__INCLUDED_)
#define AFX_MAPEDIT_H__CFB33904_F24D_45E4_B777_DA7AC0133F3C__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
#include "resource.h" // main symbols
2001-03-01 18:28:20 +01:00
#include "CmdMsg.h"
2001-03-29 19:59:01 +02:00
#include "IniClass.h"
2000-09-22 17:11:29 +02:00
/////////////////////////////////////////////////////////////////////////////
// CMapEditApp:
// See MapEdit.cpp for the implementation of this class
//
class CMapEditDoc;
2001-02-14 23:35:47 +01:00
class CMapEditView;
2000-09-22 17:11:29 +02:00
class CMapEditApp : public CWinApp
{
public:
CMapEditApp();
2001-02-14 23:35:47 +01:00
void SetCurrent(CMapEditDoc *Cur);
2001-02-16 19:23:01 +01:00
void CloseDoc(CMapEditDoc *Cur);
2000-09-22 17:11:29 +02:00
CMapEditDoc *GetCurrent()
{
return(CurrentDoc);
}
2001-04-30 23:49:54 +02:00
char *GetConfigStr(const char *Grp,const char *Key);
int GetConfigInt(const char *Grp,const char *Key);
2000-10-31 23:37:59 +01:00
2000-09-22 17:11:29 +02:00
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMapEditApp)
public:
virtual BOOL InitInstance();
//}}AFX_VIRTUAL
// Implementation
//{{AFX_MSG(CMapEditApp)
afx_msg void OnAppAbout();
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
2001-02-14 23:35:47 +01:00
CMapEditDoc *CurrentDoc;
2001-03-29 19:59:01 +02:00
CIni MainIni;
2000-09-22 17:11:29 +02:00
};
/////////////////////////////////////////////////////////////////////////////
extern CMapEditApp theApp;
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MAPEDIT_H__CFB33904_F24D_45E4_B777_DA7AC0133F3C__INCLUDED_)