odstraneni nekolika gui bugu, pridani librtmp, prepsani parseru na aktualni verzi...
[ctkuk.git] / WebEngineError.h
blobd28d706dc1ce47b5b08026aeb1d7872f009ef031
1 #ifndef _WEB_ENGINE_ERROR_H_
2 #define _WEB_ENGINE_ERROR_H_
4 #include <QString>
6 enum
8 ERR_NO,
9 ERR_REQUEST,
10 ERR_PARSER,
11 ERR_PARSING
14 class WebEngineError
16 private:
17 int m_code;
18 QString m_desc;
20 protected:
21 void getErrDesc(int code);
23 public:
24 WebEngineError(int code = 0);
26 inline int getErrCode() const { return m_code; }
27 inline const QString & getErrDesc() const { return m_desc; }
30 #endif // _WEB_ENGINE_ERROR_H_