vfs: check userland buffers before reading them.
[haiku.git] / src / preferences / screen / AlertWindow.h
blob48a4d0028272263b5df6040199ab825c3acaa214
1 /*
2 * Copyright 2001-2015, Haiku.
3 * Distributed under the terms of the MIT License.
5 * Authors:
6 * Rafael Romo
7 * Stefano Ceccherini (burton666@libero.it)
8 * Axel Dörfler, axeld@pinc-software.de
9 * Augustin Cavalier <waddlesplash>
11 #ifndef ALERT_WINDOW_H
12 #define ALERT_WINDOW_H
15 #include <Alert.h>
16 #include <Font.h>
17 #include <Messenger.h>
18 #include <String.h>
20 class BWindow;
23 class AlertWindow : public BAlert {
24 public:
25 AlertWindow(BMessenger handler);
27 virtual void MessageReceived(BMessage* message);
28 virtual void DispatchMessage(BMessage* message, BHandler* handler);
30 private:
31 void UpdateCountdownView();
33 int32 fSeconds;
34 BMessenger fHandler;
35 BFont fOriginalFont;
36 BFont fFont;
39 #endif /* ALERT_WINDOW_H */