14#ifndef nsSJISProber_h__
15#define nsSJISProber_h__
17#include "CharDistribution.h"
19#include "nsCharSetProber.h"
20#include "nsCodingStateMachine.h"
22namespace kencodingprober
24class KCODECS_NO_EXPORT nsSJISProber :
public nsCharSetProber
29 mCodingSM =
new nsCodingStateMachine(&SJISSMModel);
32 ~nsSJISProber(
void)
override
36 nsProbingState HandleData(
const char *aBuf,
unsigned int aLen)
override;
37 const char *GetCharSetName()
override
41 nsProbingState GetState(
void)
override
45 void Reset(
void)
override;
46 float GetConfidence(
void)
override;
47 void SetOpion()
override
52 nsCodingStateMachine *mCodingSM;
53 nsProbingState mState;
55 SJISContextAnalysis mContextAnalyser;
56 SJISDistributionAnalysis mDistributionAnalyser;
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 13 2024 11:48:48 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.