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