1 /* 2 * Copyright 2001-2010, Haiku. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * Michael Pfeiffer 7 */ 8 #ifndef _SPOOL_FOLDER_H 9 #define _SPOOL_FOLDER_H 10 11 12 #include "Jobs.h" 13 14 15 class PrintersWindow; 16 class PrinterItem; 17 18 19 class SpoolFolder : public Folder { 20 public: 21 SpoolFolder(PrintersWindow* window, 22 PrinterItem* item, 23 const BDirectory& spoolDir); 24 PrinterItem* Item() const { return fItem; } 25 26 protected: 27 void Notify(Job* job, int kind); 28 29 PrintersWindow* fWindow; 30 PrinterItem* fItem; 31 }; 32 33 34 #endif // _SPOOL_FOLDER_H 35