Advertisement
Guest User

Untitled

a guest
Jul 24th, 2013
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 2.40 KB | None | 0 0
  1. /**
  2.  * EMBIND file generated for classPage.xml.
  3.  * File was automatically generated by /home/kyle/Documents/embindcreator/embindcreator.js.
  4.  * See that file for more information.
  5.  */
  6.  
  7. #include <emscripten/bind.h>
  8.  
  9. using namespace emscripten;
  10.  
  11. //////// Page////////
  12.  
  13.  
  14. EMSCRIPTEN_BINDINGS(Page_bindings) {
  15.     class_<Page, base<Element>>("Page")
  16.         .function("replaceTextMacros", &Page::replaceTextMacros)// line: line: "131"
  17.         .function("drawStyledHeaderFooter", &Page::drawStyledHeaderFooter)// line: line: "132"
  18.         .constructor<Score *>()// line: line: "135"
  19.         // destructor at line: line: "136", embind/emscripten automatically handle these when you call '<instance>.delete()'
  20.         .function("clone", &Page::clone)// line: line: "137"
  21.         .function("type", &Page::type)// line: line: "138"
  22.         //TODO: Overloaded function: "systems" generate embind by hand.
  23.         //overload found at line: line: "139"
  24.         //TODO: Overloaded function: "systems_" generate embind by hand.
  25.         //overload found at line: line: "140"
  26.         .function("layout", &Page::layout)// line: line: "142"
  27.         .function("write", &Page::write)// line: line: "143"
  28.         .function("read", &Page::read)// line: line: "144"
  29.         .function("appendSystem", &Page::appendSystem)// line: line: "146"
  30.         .function("no", &Page::no)// line: line: "148"
  31.         .function("setNo", &Page::setNo)// line: line: "149"
  32.         .function("isOdd", &Page::isOdd)// line: line: "150"
  33.         .function("tm", &Page::tm)// line: line: "151"
  34.         .function("bm", &Page::bm)// line: line: "152"
  35.         .function("lm", &Page::lm)// line: line: "153"
  36.         .function("rm", &Page::rm)// line: line: "154"
  37.         .function("draw", &Page::draw)// line: line: "156"
  38.         .function("scanElements", &Page::scanElements)// line: line: "157"
  39.         //TODO: Overloaded function: "items" generate embind by hand.
  40.         //overload found at line: line: "159"
  41.         //TODO: Overloaded function: "items_" generate embind by hand.
  42.         //overload found at line: line: "160"
  43.         .function("rebuildBspTree", &Page::rebuildBspTree)// line: line: "161"
  44.         .function("pagePos", &Page::pagePos)// line: line: "162"
  45.         .function("searchSystem", &Page::searchSystem)// line: line: "163"
  46.         .function("searchMeasure", &Page::searchMeasure)// line: line: "164"
  47.         .function("pos2measure", &Page::pos2measure)// line: line: "165"
  48.         .function("elements", &Page::elements)// line: line: "167"
  49.         ;
  50. }
  51. //Source Location:  "/home/kyle/Documents/emscripten-libmscore/libmscore/page.h": "119"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement