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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [host/] [tools/] [configtool/] [common/] [win32/] [NotePage.cpp] - Blame information for rev 786

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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