Windows2003-3790/windows/feime/kor/ime2k/hanjadic/ihanjainfo.cpp

66 lines
1.0 KiB
C++
Raw Permalink Normal View History

2001-01-01 00:00:00 +01:00
// 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;
}