7#ifndef nsEUCKRProber_h__
8#define nsEUCKRProber_h__
10#include "CharDistribution.h"
11#include "nsCharSetProber.h"
12#include "nsCodingStateMachine.h"
13namespace kencodingprober
15class KCODECS_NO_EXPORT nsEUCKRProber :
public nsCharSetProber
20 mCodingSM =
new nsCodingStateMachine(&EUCKRSMModel);
23 ~nsEUCKRProber(
void)
override
27 nsProbingState HandleData(
const char *aBuf,
unsigned int aLen)
override;
28 const char *GetCharSetName()
override
32 nsProbingState GetState(
void)
override
36 void Reset(
void)
override;
37 float GetConfidence(
void)
override;
38 void SetOpion()
override
43 void GetDistribution(
unsigned int aCharLen,
const char *aStr);
45 nsCodingStateMachine *mCodingSM;
46 nsProbingState mState;
49 EUCKRDistributionAnalysis mDistributionAnalyser;
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:08:36 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.