blob: 5ad230ec8f0b7ae577d0dfba55ad74e934b97006 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//
//=============================================================================//
// NewKeyValue.cpp : implementation file
//
#include "stdafx.h"
#include "hammer.h"
#include "NewKeyValue.h"
// memdbgon must be the last include file in a .cpp file!!!
#include <tier0/memdbgon.h>
/////////////////////////////////////////////////////////////////////////////
// CNewKeyValue dialog
CNewKeyValue::CNewKeyValue(CWnd* pParent /*=NULL*/)
: CDialog(CNewKeyValue::IDD, pParent)
{
//{{AFX_DATA_INIT(CNewKeyValue)
m_Key = _T("");
m_Value = _T("");
//}}AFX_DATA_INIT
}
void CNewKeyValue::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CNewKeyValue)
DDX_Text(pDX, IDC_KEY, m_Key);
DDV_MaxChars(pDX, m_Key, 31);
DDX_Text(pDX, IDC_VALUE, m_Value);
DDV_MaxChars(pDX, m_Value, 80);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CNewKeyValue, CDialog)
//{{AFX_MSG_MAP(CNewKeyValue)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CNewKeyValue message handlers
|