Blame view

epsilon-master/ion/src/emscripten/main.cpp 501 Bytes
6663b6c9   adorian   projet complet av...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
  #include <ion.h>
  #include "display.h"
  #include "events_keyboard.h"
  #include "../../../apps/global_preferences.h"
  
  extern "C" {
  const char * IonSoftwareVersion();
  const char * IonPatchLevel();
  }
  
  const char * IonSoftwareVersion() { return Ion::softwareVersion(); }
  const char * IonPatchLevel() { return Ion::patchLevel(); }
  
  int main(int argc, char * argv[]) {
    Ion::Display::Emscripten::init();
    Ion::Events::Emscripten::init();
  
    ion_main(argc, argv);
    return 0;
  }
  
  void Ion::msleep(long ms) {
  }