20 lines
493 B
C
20 lines
493 B
C
|
/* The classes below are not exported */
|
||
|
#pragma GCC visibility push(hidden)
|
||
|
|
||
|
#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);
|
||
|
protected:
|
||
|
void Report(const char* aCharset);
|
||
|
const char *mDetectedCharset;
|
||
|
};
|
||
|
|
||
|
#pragma GCC visibility pop
|