Revision 64 (by gdshaw@RISCPKG.ORG, 2007/05/21 05:44:33) Disabled exceptions and enabled optimisation to reduce code size.
// This file is part of the free Filer module for RISC OS.
// Copyright � 2007 Graham Shaw.
// Redistribution and modification are permitted under the terms of the
// GNU General Public License (version 2 or any later version).

#include <new>

#include "header.h"
#include "filer_application.h"
#include "main.h"

filer_options& get_default_options()
	static filer_options default_options;
	return default_options;

filer_application* app=0;

int pollword=0;

pathname_table pathnames(&pollword);

extern "C"
int main(int argc, char *argv[])
	if (!app)
		app=new(std::nothrow) filer_application;
		delete app;
	return 0;