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.
31 lines
603 B
31 lines
603 B
// cutil.h
|
|
//
|
|
//
|
|
#ifndef CUTIL_H
|
|
#define CUTIL_H
|
|
|
|
#include "private.h"
|
|
|
|
//
|
|
// base class for SR engine detection
|
|
//
|
|
class __declspec(novtable) CDetectSRUtil
|
|
{
|
|
public:
|
|
virtual ~CDetectSRUtil()
|
|
{
|
|
if (m_langidRecognizers.Count() > 0)
|
|
m_langidRecognizers.Clear();
|
|
}
|
|
|
|
BOOL _IsSREnabledForLangInReg(LANGID langidReq);
|
|
|
|
LANGID _GetLangIdFromRecognizerToken(HKEY hkeyToken);
|
|
|
|
//
|
|
// this is an array of installed recognizers in their langid
|
|
//
|
|
CStructArray<LANGID> m_langidRecognizers;
|
|
};
|
|
|
|
#endif // CUTIL_H
|