This commit is contained in:
@@ -21,6 +21,7 @@ void CCondition::Initialize()
|
||||
Init_Item_Multi( m_arrNewsPlusAnd_Special, "뉴스플러스_특별용_긍정문구.txt" );
|
||||
Init_Item_Multi( m_arrNewsPlusAnd_Normal, "뉴스플러스_일반용_긍정문구.txt" );
|
||||
Init_Item_Multi( m_arrNewsPlusNot, "뉴스플러스_부정문구.txt" );
|
||||
Init_Item_Multi( m_arrManual, "뉴스플러스_수동문구.txt" );
|
||||
}
|
||||
|
||||
void CCondition::Finalize()
|
||||
@@ -31,6 +32,8 @@ void CCondition::Finalize()
|
||||
m_arrNewsPlusAnd_Special.RemoveAll();
|
||||
m_arrNewsPlusAnd_Normal.RemoveAll();
|
||||
m_arrNewsPlusNot.RemoveAll();
|
||||
|
||||
m_arrManual.RemoveAll();
|
||||
}
|
||||
|
||||
BOOL CCondition::Refresh()
|
||||
@@ -40,6 +43,7 @@ BOOL CCondition::Refresh()
|
||||
if( Init_Item_Multi( m_arrNewsPlusAnd_Special, "뉴스플러스_특별용_긍정문구.txt" ) )
|
||||
if( Init_Item_Multi( m_arrNewsPlusAnd_Normal, "뉴스플러스_일반용_긍정문구.txt" ) )
|
||||
if( Init_Item_Multi( m_arrNewsPlusNot, "뉴스플러스_부정문구.txt" ) )
|
||||
if( Init_Item_Multi( m_arrManual, "뉴스플러스_수동문구.txt" ) )
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
@@ -237,6 +241,9 @@ enum HM_CONDITION_TYPE CCondition::DetectConditionTitle( CString & strTitle, int
|
||||
{
|
||||
if( ! SearchNot( m_arrNewsPlusNot, strTitle ) ) // [뉴스플러스_부정문구]를 찾는다.
|
||||
{
|
||||
if ( SearchAnd( m_arrManual, strTitle ) ) // [뉴스플러스_수동문구]를 찾는다.
|
||||
return HM_CONDITION_TYPE_MANUAL;
|
||||
|
||||
if( SearchAnd( m_arrNewsPlusAnd_Special, strTitle ) ) // [뉴스플러스_특별용_긍정문구]를 찾는다.
|
||||
return HM_CONDITION_TYPE_SPECIAL;
|
||||
|
||||
@@ -248,6 +255,9 @@ enum HM_CONDITION_TYPE CCondition::DetectConditionTitle( CString & strTitle, int
|
||||
{
|
||||
if( ! SearchNot( m_arrTextNot, strTitle ) ) // [공시 부정문구]를 찾는다.
|
||||
{
|
||||
if ( SearchAnd( m_arrManual, strTitle ) ) // [뉴스플러스_수동문구]를 찾는다.
|
||||
return HM_CONDITION_TYPE_MANUAL;
|
||||
|
||||
if( SearchAnd( m_arrTextAnd, strTitle ) ) // [공시 긍정문구]를 찾는다.
|
||||
return HM_CONDITION_TYPE_TRUE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user