1*1af4fa4bSClemens Zeidler #ifndef ZOIDBERG_MAIL_ERRORLOGWINDOW_H 2*1af4fa4bSClemens Zeidler #define ZOIDBERG_MAIL_ERRORLOGWINDOW_H 3*1af4fa4bSClemens Zeidler 4*1af4fa4bSClemens Zeidler #include <Window.h> 5*1af4fa4bSClemens Zeidler #include <Alert.h> 6*1af4fa4bSClemens Zeidler 7*1af4fa4bSClemens Zeidler class ErrorLogWindow : public BWindow { 8*1af4fa4bSClemens Zeidler public: 9*1af4fa4bSClemens Zeidler ErrorLogWindow(BRect rect, const char *name, window_type type); 10*1af4fa4bSClemens Zeidler 11*1af4fa4bSClemens Zeidler void AddError(alert_type type,const char *message,const char *tag = NULL,bool timestamp = true); 12*1af4fa4bSClemens Zeidler 13*1af4fa4bSClemens Zeidler bool QuitRequested(); 14*1af4fa4bSClemens Zeidler void FrameResized(float new_width, float new_height); 15*1af4fa4bSClemens Zeidler 16*1af4fa4bSClemens Zeidler private: 17*1af4fa4bSClemens Zeidler BView *view; 18*1af4fa4bSClemens Zeidler bool fIsRunning; 19*1af4fa4bSClemens Zeidler }; 20*1af4fa4bSClemens Zeidler 21*1af4fa4bSClemens Zeidler #endif // ZOIDBERG_MAIL_ERRORLOGWINDOW_H 22