// Emacs style mode select   -*- C++ -*-
//-----------------------------------------------------------------------------
//
// $Id: 9f47ccb9723f22dfd334a43ba16436366fa01941 $
//
// Copyright (C) 2006-2025 by The Odamex Team.
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// DESCRIPTION:
//  Main application sequence
//
// AUTHORS:
//  John Corrado
//  Russell Rice (russell at odamex dot net)
//  Michael Wood (mwoodj at huntsvegas dot org)
//
//-----------------------------------------------------------------------------


#ifndef __MAIN_H__
#define __MAIN_H__

#include "odalaunch.h"

#ifdef UNIX
#undef UNIX
#include "dlg_main.h"
#define UNIX
#else
#include "dlg_main.h"
#endif

#include <wx/app.h>

class Application : public wxApp
{
public:
	bool OnInit();
	wxInt32 OnExit();

	dlgMain* MAIN_DIALOG;
};

#endif
