/* * Copyright 2006, Haiku. * Distributed under the terms of the MIT License. * * Authors: * Stephan Aßmus * Ingo Weinhold */ #ifndef POPUP_VIEW_H #define POPUP_VIEW_H #include #include class PopupWindow; class PopupView : public MView, public BView { public: PopupView(const char* name); virtual ~PopupView(); // MView virtual minimax layoutprefs() = 0; virtual BRect layout(BRect frame) = 0; virtual void SetPopupWindow(PopupWindow* window); virtual void PopupDone(bool canceled); private: PopupWindow* fWindow; }; #endif // POPUP_CONTROL_H