root/src/tests/add-ons/print/ppd/test/PPDConfigApplication.h
/*
 * Copyright 2008, Haiku.
 * Distributed under the terms of the MIT license.
 *
 * Authors:
 *              Michael Pfeiffer <laplace@users.sourceforge.net>
 */

#ifndef _PPD_CONFIG_H
#define _PPD_CONFIG_H

#include <AppKit.h>
#include <InterfaceKit.h>
#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