UserScriptsDlg.h 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. /*
  2. FinalSun/FinalAlert 2 Mission Editor
  3. Copyright (C) 1999-2024 Electronic Arts, Inc.
  4. Authored by Matthias Wagner
  5. This program is free software: you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation, either version 3 of the License, or
  8. (at your option) any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program. If not, see <https://www.gnu.org/licenses/>.
  15. */
  16. #if !defined(AFX_USERSCRIPTSDLG_H__6A37EE40_9653_11D5_89B3_00E07D97C331__INCLUDED_)
  17. #define AFX_USERSCRIPTSDLG_H__6A37EE40_9653_11D5_89B3_00E07D97C331__INCLUDED_
  18. #if _MSC_VER > 1000
  19. #pragma once
  20. #endif // _MSC_VER > 1000
  21. // UserScriptsDlg.h : Header-Datei
  22. //
  23. /////////////////////////////////////////////////////////////////////////////
  24. // Dialogfeld CUserScriptsDlg
  25. class CUserScriptsDlg : public CDialog
  26. {
  27. // Konstruktion
  28. public:
  29. void ReportScriptError(int line);
  30. CUserScriptsDlg(CWnd* pParent = NULL); // Standardkonstruktor
  31. // Dialogfelddaten
  32. //{{AFX_DATA(CUserScriptsDlg)
  33. enum { IDD = IDD_USERSCRIPTS };
  34. CString m_Script;
  35. CString m_Report;
  36. //}}AFX_DATA
  37. // Überschreibungen
  38. // Vom Klassen-Assistenten generierte virtuelle Funktionsüberschreibungen
  39. //{{AFX_VIRTUAL(CUserScriptsDlg)
  40. protected:
  41. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV-Unterstützung
  42. //}}AFX_VIRTUAL
  43. // Implementierung
  44. protected:
  45. // Generierte Nachrichtenzuordnungsfunktionen
  46. //{{AFX_MSG(CUserScriptsDlg)
  47. virtual void OnOK();
  48. virtual BOOL OnInitDialog();
  49. //}}AFX_MSG
  50. DECLARE_MESSAGE_MAP()
  51. };
  52. //{{AFX_INSERT_LOCATION}}
  53. // Microsoft Visual C++ fügt unmittelbar vor der vorhergehenden Zeile zusätzliche Deklarationen ein.
  54. #endif // AFX_USERSCRIPTSDLG_H__6A37EE40_9653_11D5_89B3_00E07D97C331__INCLUDED_