/* * Copyright 2008, Haiku. * Distributed under the terms of the MIT license. * * Authors: * Michael Pfeiffer */ #ifndef _PPD_CONFIG_H #define _PPD_CONFIG_H #include #include #include "PPDConfigView.h" #include "MsgConsts.h" #define APPLICATION "PPD Printer Selection and Configuration Prototype" #define SIGNATURE "application/x-vnd.mwp-ppd-prototype" #define VERSION "1.0" class AppWindow : public BWindow { public: AppWindow(BRect); bool QuitRequested(); void AboutRequested(); void MessageReceived(BMessage *message); private: BMenuBar *fMenuBar; PPDConfigView *fConfig; }; class PPDConfigApplication : public BApplication { public: AppWindow *window; PPDConfigApplication(); }; #define my_app ((PPDConfigApplication*)be_app) #endif