3 * Copyright 2004 Michael Pfeiffer. All Rights Reserved.
6 #ifndef __DIALOG_WINDOW_H
7 #define __DIALOG_WINDOW_H
12 class DialogWindow
: public BWindow
{
14 DialogWindow(BRect frame
,
18 uint32 workspace
= B_CURRENT_WORKSPACE
);
20 DialogWindow(BRect frame
,
25 uint32 workspace
= B_CURRENT_WORKSPACE
);
29 void SetResult(status_t result
);
31 void MessageReceived(BMessage
* msg
);
34 kGetThreadId
= 'dwti' // request thread id from window
38 status_t fPreviousResult
; // holds the result as long as fResult == NULL
39 volatile status_t
*fResult
;