/***************************************************************************
**
**    $Header:   D:/ECB2S/SRC/LOG/SPALINE.CPP   1.2.1.4   17 Apr 1997 15:59:54   ZJRD  $
**
**    $Log:   D:/ECB2S/SRC/LOG/SPALINE.CPP  $
** 
**    Rev 1.2.1.4   17 Apr 1997 15:59:54   ZJRD
** No change.
** 
**    Rev 1.2.1.3   16 Apr 1997 10:32:34   ZJRD
** No change.
** 
**    Rev 1.2.1.2   10 Apr 1997 15:42:10   ZJRD
** No change.
** 
**    Rev 1.2.1.1   03 Apr 1997 15:20:56   ZJRD
** No change.
** 
**    Rev 1.2.1.0   28 Mar 1997 10:25:16   ZJRD
** easy pack sld 2.09d
** 
**    Rev 1.1   19 Mar 1997 11:35:12   ZJRD
** No change.
** 
**    Rev 1.0   12 Mar 1997 14:49:46   ZJRD
** Initial revision.
** 
**    Rev 1.0.1.0   11 Nov 1996 12:59:36   ZJRD
** EasyPack/SLD Version 2.01
** 
**    Rev 1.4   09 Sep 1996 13:18:44   ZJRD
** No change.
** 
**    Rev 1.3   05 Sep 1996 11:30:16   ZJRD
** No change.
** 
**    Rev 1.2   02 Sep 1996 09:57:18   ZJRD
** No change.
** 
**    Rev 1.1   28 Aug 1996 15:52:34   ZJRD
** EasyPack/SLD Version 1.9b
** 
**    Rev 1.0   12 Aug 1996 10:56:00   ZJRD
** Initial revision.
** 
****************************************************************************/

/////////////////////////////////////////////////////////////////////////////
//
//  File name: SPALINE.CPP
//
//  Description: The implementation file for the class: CSpaTextLine.
//
//  Author: Chen Jun
//
//  Date: 06/19/96
//
//  Modification:
//      1. 06/19/96, Initial version of the class: CSpaTextLine.
//
//  Copyright (C) 1996 Microtek International. All rights reserved.
//
/////////////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "resource.h"

#include "spamsg.h"
#include "spafrm.h"
#include "spaline.h"
#include "spatdoc.h"
#include "spatvw.h"


#ifdef _DEBUG
#undef THIS_FILE
static char BASED_CODE THIS_FILE[] = __FILE__;
#endif


/////////////////////////////////////////////////////////////////////////////
// CSpaTextLine

IMPLEMENT_SERIAL(CSpaTextLine, CObject, 0)

CSpaTextLine::CSpaTextLine()
	: m_strLine(_T("")), m_bGrayed(FALSE)
{
}

CSpaTextLine::CSpaTextLine(const CString& strLine, BOOL bGrayed)
	: m_strLine(strLine), m_bGrayed(bGrayed)
{
}

CSpaTextLine::~CSpaTextLine()
{
}


CString CSpaTextLine::GetText(void) const
{
	return m_strLine;
}

void CSpaTextLine::SetText(CString& strText)
{
	m_strLine = strText;
}

BOOL CSpaTextLine::GetGrayed(void) const
{
	return m_bGrayed;
}

void CSpaTextLine::SetGrayed(BOOL bGrayed)
{
	m_bGrayed = bGrayed;
}
