OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [tools/] [src/] [tools/] [configtool/] [common/] [win32/] [NotePage.cpp] - Blame information for rev 751

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 26 unneback
//####COPYRIGHTBEGIN####
2
//                                                                          
3
// ----------------------------------------------------------------------------
4
// Copyright (C) 1998, 1999, 2000 Red Hat, Inc.
5
//
6
// This program is part of the eCos host tools.
7
//
8
// This program is free software; you can redistribute it and/or modify it 
9
// under the terms of the GNU General Public License as published by the Free 
10
// Software Foundation; either version 2 of the License, or (at your option) 
11
// any later version.
12
// 
13
// This program is distributed in the hope that it will be useful, but WITHOUT 
14
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 
15
// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for 
16
// more details.
17
// 
18
// You should have received a copy of the GNU General Public License along with
19
// this program; if not, write to the Free Software Foundation, Inc., 
20
// 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
21
//
22
// ----------------------------------------------------------------------------
23
//                                                                          
24
//####COPYRIGHTEND####
25
// NotePage.cpp : implementation file
26
//
27
 
28
#include "stdafx.h"
29
#include "NotePage.h"
30
#include "ConfigTool.h"
31
 
32
#ifdef _DEBUG
33
#define new DEBUG_NEW
34
#undef THIS_FILE
35
static char THIS_FILE[] = __FILE__;
36
#endif
37
 
38
/////////////////////////////////////////////////////////////////////////////
39
// CNotePage property page
40
 
41
IMPLEMENT_DYNCREATE(CNotePage, CeCosPropertyPage)
42
 
43
CNotePage::CNotePage() : CeCosPropertyPage(CNotePage::IDD)
44
{
45
        //{{AFX_DATA_INIT(CNotePage)
46
        m_strNote = _T("");
47
        //}}AFX_DATA_INIT
48
}
49
 
50
CNotePage::~CNotePage()
51
{
52
}
53
 
54
void CNotePage::DoDataExchange(CDataExchange* pDX)
55
{
56
        CeCosPropertyPage::DoDataExchange(pDX);
57
        //{{AFX_DATA_MAP(CNotePage)
58
        DDX_Text(pDX, IDC_EDIT_NOTE, m_strNote);
59
        DDV_MaxChars(pDX, m_strNote, 1023);
60
        //}}AFX_DATA_MAP
61
}
62
 
63
 
64
BEGIN_MESSAGE_MAP(CNotePage, CeCosPropertyPage)
65
        //{{AFX_MSG_MAP(CNotePage)
66
                // NOTE: the ClassWizard will add message map macros here
67
        //}}AFX_MSG_MAP
68
END_MESSAGE_MAP()
69
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.