2 * Copyright 2005-2008, Haiku, Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
6 * Stephan Aßmus <superstippi@gmx.de>
8 #ifndef OFFSCREEN_SERVER_WINDOW_H
9 #define OFFSCREEN_SERVER_WINDOW_H
12 #include "ServerWindow.h"
15 class OffscreenServerWindow
: public ServerWindow
{
17 OffscreenServerWindow(const char *title
, ServerApp
*app
,
18 port_id clientPort
, port_id looperPort
,
19 int32 handlerID
, ServerBitmap
* bitmap
);
20 virtual ~OffscreenServerWindow();
23 virtual void SendMessageToClient(const BMessage
* msg
,
24 int32 target
= B_NULL_TOKEN
,
25 bool usePreferred
= false) const;
27 virtual ::Window
* MakeWindow(BRect frame
, const char* name
,
28 window_look look
, window_feel feel
, uint32 flags
,
32 ServerBitmap
* fBitmap
;
35 #endif // OFFSCREEN_SERVER_WINDOW_H