Make UEFI boot-platform build again
[haiku.git] / headers / libs / print / libprint / DialogWindow.h
blob1ca2c2a23666eb4d019d84a9c820f432347cbb0a
1 /*
2 * DialogWindow.h
3 * Copyright 2004 Michael Pfeiffer. All Rights Reserved.
4 */
6 #ifndef __DIALOG_WINDOW_H
7 #define __DIALOG_WINDOW_H
9 #include <OS.h>
10 #include <Window.h>
12 class DialogWindow : public BWindow {
13 public:
14 DialogWindow(BRect frame,
15 const char *title,
16 window_type type,
17 uint32 flags,
18 uint32 workspace = B_CURRENT_WORKSPACE);
20 DialogWindow(BRect frame,
21 const char *title,
22 window_look look,
23 window_feel feel,
24 uint32 flags,
25 uint32 workspace = B_CURRENT_WORKSPACE);
27 status_t Go();
29 void SetResult(status_t result);
31 void MessageReceived(BMessage* msg);
33 enum {
34 kGetThreadId = 'dwti' // request thread id from window
37 private:
38 status_t fPreviousResult; // holds the result as long as fResult == NULL
39 volatile status_t *fResult;
42 #endif