12#ifndef nsEUCJPProber_h__
13#define nsEUCJPProber_h__
15#include "CharDistribution.h"
17#include "nsCharSetProber.h"
18#include "nsCodingStateMachine.h"
19namespace kencodingprober
21class KCODECS_NO_EXPORT nsEUCJPProber :
public nsCharSetProber
26 mCodingSM =
new nsCodingStateMachine(&EUCJPSMModel);
29 ~nsEUCJPProber(
void)
override
33 nsProbingState HandleData(
const char *aBuf,
unsigned int aLen)
override;
34 const char *GetCharSetName()
override
38 nsProbingState GetState(
void)
override
42 void Reset(
void)
override;
43 float GetConfidence(
void)
override;
44 void SetOpion()
override
49 nsCodingStateMachine *mCodingSM;
50 nsProbingState mState;
52 EUCJPContextAnalysis mContextAnalyser;
53 EUCJPDistributionAnalysis mDistributionAnalyser;
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:18:52 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.