feisty meow concerns codebase  2.140
hoople_main.h File Reference

Provides macros that implement the 'main' program of an application. More...

Include dependency graph for hoople_main.h:

Go to the source code of this file.

Namespaces

 application
 Implements an application lock to ensure only one is running at once.
 

Macros

#define HOOPLE_STARTUP_CODE    DEFINE_INSTANCE_HANDLE;
 
#define HOOPLE_MAIN(obj_name, obj_args)
 options that should work for most unix and linux apps. More...
 

Detailed Description

Provides macros that implement the 'main' program of an application.

Definition in file hoople_main.h.

Macro Definition Documentation

◆ HOOPLE_MAIN

#define HOOPLE_MAIN (   obj_name,
  obj_args 
)
Value:
int main(int argc, char *argv[]) { \
SET_ARGC_ARGV(argc, argv); \
SETUP_COMBO_LOGGER; \
obj_name to_run_obj obj_args; \
return to_run_obj.execute_application(); \
}
#define HOOPLE_STARTUP_CODE
Definition: hoople_main.h:43

options that should work for most unix and linux apps.

Definition at line 61 of file hoople_main.h.

◆ HOOPLE_STARTUP_CODE

#define HOOPLE_STARTUP_CODE    DEFINE_INSTANCE_HANDLE;

Definition at line 43 of file hoople_main.h.