btrfs: Attempt to fix GCC2 build.
[haiku.git] / src / servers / mail / ErrorLogWindow.h
blob3e79953a915e2712b8922c1baa17dd16992309cc
1 #ifndef ZOIDBERG_MAIL_ERRORLOGWINDOW_H
2 #define ZOIDBERG_MAIL_ERRORLOGWINDOW_H
4 #include <Window.h>
5 #include <Alert.h>
7 class ErrorLogWindow : public BWindow {
8 public:
9 ErrorLogWindow(BRect rect, const char *name, window_type type);
11 void AddError(alert_type type,const char *message,const char *tag = NULL,bool timestamp = true);
13 bool QuitRequested();
14 void FrameResized(float new_width, float new_height);
16 private:
17 BView *view;
18 bool fIsRunning;
21 #endif // ZOIDBERG_MAIL_ERRORLOGWINDOW_H