Initial Commit
This commit is contained in:
commit
f4fa723863
22 changed files with 1402 additions and 0 deletions
17
src/main.c
Normal file
17
src/main.c
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#include "app.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
int main(void) {
|
||||
App app;
|
||||
|
||||
if (app_init(&app) != 0) {
|
||||
fprintf(stderr, "Failed to start Passport-C Media Player.\n");
|
||||
app_destroy(&app);
|
||||
return 1;
|
||||
}
|
||||
|
||||
app_run(&app);
|
||||
app_destroy(&app);
|
||||
return 0;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue