9#error *****Isis.h MUST be included before any other files!*****
14#include <QCoreApplication>
21#define APPLICATION IsisMain
71 std::map<QString, void *> empty;
92int main(
int argc,
char *argv[]) {
96 if (getenv(
"ISISROOT") == NULL || QString(getenv(
"ISISROOT")) ==
"") {
97 std::cerr <<
"Please set ISISROOT before running any Isis applications" << std::endl;
102 if (getenv(
"ISISDATA") != NULL && QString(getenv(
"ISISDATA")) !=
"") {
103 SpiceQL::Inventory::setDbFilePath(std::string(getenv(
"ISISDATA")) +
"/base/",
true);
107 SpiceQL::addAliasKey(
"Mars_Reconnaissance_Orbiter",
"MRO");
116 delete QCoreApplication::instance();
int main(int argc, char *argv[])
The programmer supplied main function.
Definition Isis.h:92
void SegmentationFault(int)
#define APPLICATION
This is free and unencumbered software released into the public domain.
Definition Isis.h:21
void startMonitoringMemory()
void stopMonitoringMemory()
void InterruptSignal(int)
Definition Application.h:101
int Run(void(*funct)())
Runs the program defined in the function funct.
Definition Application.cpp:183
void RegisterGuiHelpers(std::map< QString, void * > helpers)
Definition Application.h:124
static bool p_applicationForceGuiApp
Definition Application.h:119
std::map< QString, void * > GuiHelpers()
Base include file for all Isis applications.
Definition Isis.h:70