filters

config.h

00001 
00002 #ifndef __LATEXFILTER_CONFIG_H__
00003 #define __LATEXFILTER_CONFIG_H__
00004 
00005 
00006 enum _ELatexType
00007 {
00008     TYPE_UNKNOWN,
00009     TYPE_DOC,
00010     TYPE_EMBEDED
00011 };
00012 
00013 enum _ELatexEncoding
00014 {
00015     ENC_UNKNOWN,
00016     ENC_LATIN1,
00017     ENC_UNICODE
00018 };
00019 
00020 typedef enum _ELatexType ELatexType;
00021 typedef enum _ELatexEncoding ELatexEncoding;
00022 
00023 class Config
00024 {
00025     public:
00026         Config();
00027 
00028         ~Config();
00029 
00030         ELatexType getType() const { return _type; }
00031 
00032         ELatexEncoding getEncoding() const { return _encoding; }
00033 
00034         void setType(ELatexType type) { _type = type; }
00035         
00036         void setEncoding(ELatexEncoding encoding) { _encoding = encoding; }
00037         
00038     private:
00039         static ELatexType _type;
00040         static ELatexEncoding _encoding;
00041 
00042 };
00043 
00044 #endif /* __LATEXFILTER_CONFIG_H__ */
KDE Home | KDE Accessibility Home | Description of Access Keys