| 1 | /* |
| 2 | * Descent 3 |
| 3 | * Copyright (C) 2024 Parallax Software |
| 4 | * |
| 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 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 17 | */ |
| 18 | |
| 19 | #if !defined(AFX_BRIEFMANAGE_H__76AADF40_C377_11D2_AB2B_006008BF0B09__INCLUDED_) |
| 20 | #define AFX_BRIEFMANAGE_H__76AADF40_C377_11D2_AB2B_006008BF0B09__INCLUDED_ |
| 21 | |
| 22 | #include "BriefEdit.h" |
| 23 | |
| 24 | #if _MSC_VER > 1000 |
| 25 | #pragma once |
| 26 | #endif // _MSC_VER > 1000 |
| 27 | // BriefManage.h : header file |
| 28 | // |
| 29 | |
| 30 | #include "manage.h" |
| 31 | ///////////////////////////////////////////////////////////////////////////// |
| 32 | // CBriefManage dialog |
| 33 | |
| 34 | class CBriefManage : public CDialog { |
| 35 | // Construction |
| 36 | public: |
| 37 | CBriefManage(CWnd *pParent = NULL); // standard constructor |
| 38 | void UpdateDialog(void); |
| 39 | void AddString(char *filename, int pagetype = PAGETYPE_GAMEFILE); |
| 40 | |
| 41 | // Dialog Data |
| 42 | //{{AFX_DATA(CBriefManage) |
| 43 | enum { IDD = IDD_BRIEF_MANAGE }; |
| 44 | CListBox m_List; |
| 45 | //}}AFX_DATA |
| 46 | |
| 47 | // Overrides |
| 48 | // ClassWizard generated virtual function overrides |
| 49 | //{{AFX_VIRTUAL(CBriefManage) |
| 50 | protected: |
| 51 | virtual void DoDataExchange(CDataExchange *pDX); // DDX/DDV support |
| 52 | //}}AFX_VIRTUAL |
| 53 | |
| 54 | // Implementation |
| 55 | protected: |
| 56 | // Generated message map functions |
| 57 | //{{AFX_MSG(CBriefManage) |
| 58 | afx_msg void OnAdd(); |
| 59 | virtual BOOL OnInitDialog(); |
| 60 | //}}AFX_MSG |
| 61 | DECLARE_MESSAGE_MAP() |
| 62 | }; |
| 63 | |
| 64 | //{{AFX_INSERT_LOCATION}} |
| 65 | // Microsoft Visual C++ will insert additional declarations immediately before the previous line. |
| 66 | |
| 67 | #endif // !defined(AFX_BRIEFMANAGE_H__76AADF40_C377_11D2_AB2B_006008BF0B09__INCLUDED_) |