summaryrefslogtreecommitdiff
path: root/libcharsetdetect/charsetdetectPriv.h
blob: 50a9d55c22d298f252314b57d4e7bcd5aa0a0262 (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 */
#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