9#error *****Isis.h MUST be included before any other files!*****
14#include <QCoreApplication>
16#include "Application.h"
19#define APPLICATION IsisMain
69 std::map<QString, void *> empty;
76void startMonitoringMemory();
77void stopMonitoringMemory();
78void SegmentationFault(
int);
80void InterruptSignal(
int);
90int main(
int argc,
char *argv[]) {
94 if (getenv(
"ISISROOT") == NULL || QString(getenv(
"ISISROOT")) ==
"") {
95 std::cerr <<
"Please set ISISROOT before running any Isis applications" << std::endl;
99 Isis::Application::p_applicationForceGuiApp =
false;
102 Isis::Application::p_applicationForceGuiApp =
true;
107 int status = app->
Run(APPLICATION);
109 delete QCoreApplication::instance();
int Run(void(*funct)())
Runs the program defined in the function funct.
void RegisterGuiHelpers(std::map< QString, void * > helpers)
std::map< QString, void * > GuiHelpers()
Base include file for all Isis applications.