1 /* 2 * Copyright 2011, Haiku. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * Philippe Houdoin 7 */ 8 #ifndef _PRINTERS_TESTPAGEVIEW_H 9 #define _PRINTERS_TESTPAGEVIEW_H 10 11 12 #include <View.h> 13 14 class PrinterItem; 15 16 class TestPageView : public BView { 17 public: 18 TestPageView(BRect rect, PrinterItem* printer); 19 20 void AttachedToWindow(); 21 void DrawAfterChildren(BRect rect); 22 23 private: 24 PrinterItem* fPrinter; 25 }; 26 27 #endif 28