You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
682 B
45 lines
682 B
15 years ago
|
|
||
|
#ifndef __LATEXFILTER_CONFIG_H__
|
||
|
#define __LATEXFILTER_CONFIG_H__
|
||
|
|
||
|
|
||
|
enum _ELatexType
|
||
|
{
|
||
|
TYPE_UNKNOWN,
|
||
|
TYPE_DOC,
|
||
|
TYPE_EMBEDED
|
||
|
};
|
||
|
|
||
|
enum _ELatexEncoding
|
||
|
{
|
||
|
ENC_UNKNOWN,
|
||
|
ENC_LATIN1,
|
||
|
ENC_UNICODE
|
||
|
};
|
||
|
|
||
|
typedef enum _ELatexType ELatexType;
|
||
|
typedef enum _ELatexEncoding ELatexEncoding;
|
||
|
|
||
|
class Config
|
||
|
{
|
||
|
public:
|
||
|
Config();
|
||
|
|
||
|
~Config();
|
||
|
|
||
|
ELatexType getType() const { return _type; }
|
||
|
|
||
|
ELatexEncoding getEncoding() const { return _encoding; }
|
||
|
|
||
|
void setType(ELatexType type) { _type = type; }
|
||
|
|
||
|
void setEncoding(ELatexEncoding encoding) { _encoding = encoding; }
|
||
|
|
||
|
private:
|
||
|
static ELatexType _type;
|
||
|
static ELatexEncoding _encoding;
|
||
|
|
||
|
};
|
||
|
|
||
|
#endif /* __LATEXFILTER_CONFIG_H__ */
|