headers/bsd: Add sys/queue.h.
[haiku.git] / src / tests / add-ons / print / ppd / test / PPDConfigApplication.h
blobba7ad65d1b93a1643fdfa16125ff891b759eedb1
1 /*
2 * Copyright 2008, Haiku.
3 * Distributed under the terms of the MIT license.
5 * Authors:
6 * Michael Pfeiffer <laplace@users.sourceforge.net>
7 */
9 #ifndef _PPD_CONFIG_H
10 #define _PPD_CONFIG_H
12 #include <AppKit.h>
13 #include <InterfaceKit.h>
14 #include "PPDConfigView.h"
15 #include "MsgConsts.h"
17 #define APPLICATION "PPD Printer Selection and Configuration Prototype"
18 #define SIGNATURE "application/x-vnd.mwp-ppd-prototype"
19 #define VERSION "1.0"
21 class AppWindow : public BWindow {
22 public:
23 AppWindow(BRect);
24 bool QuitRequested();
25 void AboutRequested();
26 void MessageReceived(BMessage *message);
28 private:
29 BMenuBar *fMenuBar;
30 PPDConfigView *fConfig;
33 class PPDConfigApplication : public BApplication {
34 public:
35 AppWindow *window;
36 PPDConfigApplication();
39 #define my_app ((PPDConfigApplication*)be_app)
41 #endif