1#ifndef PRINTTESTAPP_HPP
2#define PRINTTESTAPP_HPP
3
4class PrintTestApp;
5
6#include <Application.h>
7#include <Message.h>
8#include <Rect.h>
9
10#define PRINTTEST_SIGNATURE	"application/x-vnd.OpenBeOS-printtest"
11
12class PrintTestApp : public BApplication
13{
14	typedef BApplication Inherited;
15public:
16	PrintTestApp();
17
18	void MessageReceived(BMessage* msg);
19	void ReadyToRun();
20private:
21	status_t DoTestPageSetup();
22	status_t Print();
23
24	BMessage* fSetupData;
25	BRect fPrintableRect;
26	BRect fPaperRect;
27
28};
29
30#endif
31