blob: 89c950b337fc68613e3d65bad7d004d95672c5e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/* The classes below are not exported */
#include <stdio.h>
#include <stdlib.h>
#include "nscore.h"
#include "nsUniversalDetector.h"
class Detector : public nsUniversalDetector {
public:
Detector(PRUint32 aLanguageFilter) : nsUniversalDetector(aLanguageFilter) {};
int Consider(const char *data, int length);
const char *Close(void);
const char *Close2(float *confidence);
protected:
void Report(const char* aCharset);
const char *mDetectedCharset;
};
|