You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
1.0 KiB
65 lines
1.0 KiB
// IHanjaInfo.cpp : Implementation of CHanjaInfo
|
|
#include "stdafx.h"
|
|
#include "HjDict.h"
|
|
#include "IHanjaInfo.h"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CHanjaInfo
|
|
|
|
|
|
STDMETHODIMP CHanjaInfo::get_BusuID(short *pVal)
|
|
{
|
|
*pVal = m_nBusuID;
|
|
|
|
return S_OK;
|
|
}
|
|
|
|
STDMETHODIMP CHanjaInfo::get_Stroke(short *pVal)
|
|
{
|
|
*pVal = m_nStroke;
|
|
|
|
return S_OK;
|
|
}
|
|
|
|
|
|
STDMETHODIMP CHanjaInfo::get_StrokeExcludeBusu(short *pVal)
|
|
{
|
|
*pVal = m_nStrokeExcludeBusu;
|
|
|
|
return S_OK;
|
|
}
|
|
|
|
STDMETHODIMP CHanjaInfo::get_Type(HANJA_TYPE *pVal)
|
|
{
|
|
*pVal = m_nType;
|
|
|
|
return S_OK;
|
|
}
|
|
|
|
STDMETHODIMP CHanjaInfo::get_Meaning(BSTR *pVal)
|
|
{
|
|
*pVal = m_bstrMeaning.Copy();
|
|
|
|
return S_OK;
|
|
}
|
|
|
|
STDMETHODIMP CHanjaInfo::get_Explain(BSTR *pVal)
|
|
{
|
|
*pVal = m_bstrExplain.Copy();
|
|
|
|
return S_OK;
|
|
}
|
|
|
|
STDMETHODIMP CHanjaInfo::get_NextBusu(long *pVal)
|
|
{
|
|
*pVal = m_wchNextBusu;
|
|
|
|
return S_OK;
|
|
}
|
|
|
|
STDMETHODIMP CHanjaInfo::get_NextStroke(long *pVal)
|
|
{
|
|
*pVal = m_wchNextStroke;
|
|
|
|
return S_OK;
|
|
}
|