80660b5146
dont crash when neldb is missing
73 lines
2.3 KiB
C++
73 lines
2.3 KiB
C++
// NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
|
|
// Copyright (C) 2010 Winch Gate Property Limited
|
|
//
|
|
// This program is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU Affero General Public License as
|
|
// published by the Free Software Foundation, either version 3 of the
|
|
// License, or (at your option) any later version.
|
|
//
|
|
// This program is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU Affero General Public License for more details.
|
|
//
|
|
// You should have received a copy of the GNU Affero General Public License
|
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
#if !defined(AFX_WORDS_DICDLG_H__B0C9AB06_2310_4A82_9C46_A7667C7D3407__INCLUDED_)
|
|
#define AFX_WORDS_DICDLG_H__B0C9AB06_2310_4A82_9C46_A7667C7D3407__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CWords_dicDlg dialog
|
|
|
|
class CWords_dicDlg : public CDialog
|
|
{
|
|
// Construction
|
|
public:
|
|
CWords_dicDlg(CWnd* pParent = NULL); // standard constructor
|
|
|
|
// Dialog Data
|
|
//{{AFX_DATA(CWords_dicDlg)
|
|
enum { IDD = IDD_WORDS_DIC_DIALOG };
|
|
CEdit m_LookUp;
|
|
CListBox m_Results;
|
|
//}}AFX_DATA
|
|
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CWords_dicDlg)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
HICON m_hIcon;
|
|
|
|
void lookUp( const CString& inputStr );
|
|
void clear();
|
|
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CWords_dicDlg)
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnPaint();
|
|
afx_msg HCURSOR OnQueryDragIcon();
|
|
afx_msg void OnChangeLookUp();
|
|
afx_msg void OnBtnFind();
|
|
afx_msg void OnBtnClear();
|
|
afx_msg void OnDblclkResultList();
|
|
afx_msg void OnSelchangeResultList();
|
|
afx_msg void OnSize(UINT nType, int cx, int cy);
|
|
afx_msg void OnFileList();
|
|
afx_msg void OnShowAll();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
};
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_WORDS_DICDLG_H__B0C9AB06_2310_4A82_9C46_A7667C7D3407__INCLUDED_)
|