usb_ecm: Use the current configuration instead of a fixed one.
[haiku.git] / src / servers / app / OffscreenWindow.h
blob42e77647ce6f35b4ae4c38287d1298b28f360803
1 /*
2 * Copyright 2005-2008, Haiku, Inc. All rights reserved.
3 * Distributed under the terms of the MIT license.
5 * Author:
6 * Stephan Aßmus <superstippi@gmx.de>
7 */
8 #ifndef OFFSCREEN_WINDOW_H
9 #define OFFSCREEN_WINDOW_H
12 #include "Window.h"
15 class BitmapHWInterface;
16 class ServerBitmap;
18 class OffscreenWindow : public Window {
19 public:
20 OffscreenWindow(ServerBitmap* bitmap,
21 const char* name, ::ServerWindow* window);
22 virtual ~OffscreenWindow();
24 virtual bool IsOffscreenWindow() const
25 { return true; }
27 private:
28 ServerBitmap* fBitmap;
29 BitmapHWInterface* fHWInterface;
32 #endif // OFFSCREEN_WINDOW_H