stamen

Stamen - static menu generator
git clone git://git.dimitrijedobrota.com/stamen.git
Log | Files | Refs | README | LICENSE

stamenc.cpp (452B)


      1 #include "../include/stamenc.h"
      2 #include "../include/stamen.h"
      3 
      4 using namespace stamen;
      5 
      6 void stamen_read(const char *file) { stamen::Menu::read(file); }
      7 void stamen_print(const char *entry) { stamen::Menu::print(entry); }
      8 void stamen_insert(const char *code, stamen_callback_f callback) {
      9   Menu::insert(code, callback);
     10 }
     11 
     12 int stamen_builtin_display(const char *title, const item_t items[], int size) {
     13   return builtinDisplay(title, items, size);
     14 }