diff options
Diffstat (limited to 'midimonster.c')
-rw-r--r-- | midimonster.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/midimonster.c b/midimonster.c new file mode 100644 index 0000000..58166d6 --- /dev/null +++ b/midimonster.c @@ -0,0 +1,22 @@ +#include "midimonster.h" + +int usage(char* fn){ + fprintf(stderr, "MIDIMonster v0.1\n"); + fprintf(stderr, "Usage:\n"); + fprintf(stderr, "\t%s <configfile>\n", fn); + return EXIT_FAILURE; +} + +int main(int argc, char** argv){ + char* cfg_file = DEFAULT_CFG; + if(argc > 1){ + cfg_file = argv[1]; + } + + //initialize backends + //read config + //wait for events + //free all data + + return EXIT_SUCCESS; +} |