DummyCore.js 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. function DummyCore() {
  2. }
  3. DummyCore.prototype.Render = function() {
  4. Polycode.DummyCore_Render(this.__ptr)
  5. }
  6. DummyCore.prototype.systemUpdate = function() {
  7. Polycode.DummyCore_systemUpdate(this.__ptr)
  8. }
  9. DummyCore.prototype.setCursor = function(cursorType) {
  10. Polycode.DummyCore_setCursor(this.__ptr, cursorType)
  11. }
  12. DummyCore.prototype.createThread = function(target) {
  13. Polycode.DummyCore_createThread(this.__ptr, target)
  14. }
  15. DummyCore.prototype.createMutex = function() {
  16. Polycode.DummyCore_createMutex(this.__ptr)
  17. }
  18. DummyCore.prototype.copyStringToClipboard = function(str) {
  19. Polycode.DummyCore_copyStringToClipboard(this.__ptr, str)
  20. }
  21. DummyCore.prototype.getClipboardString = function() {
  22. Polycode.DummyCore_getClipboardString(this.__ptr)
  23. }
  24. DummyCore.prototype.createFolder = function(folderPath) {
  25. Polycode.DummyCore_createFolder(this.__ptr, folderPath)
  26. }
  27. DummyCore.prototype.copyDiskItem = function(itemPath,destItemPath) {
  28. Polycode.DummyCore_copyDiskItem(this.__ptr, itemPath,destItemPath)
  29. }
  30. DummyCore.prototype.moveDiskItem = function(itemPath,destItemPath) {
  31. Polycode.DummyCore_moveDiskItem(this.__ptr, itemPath,destItemPath)
  32. }
  33. DummyCore.prototype.removeDiskItem = function(itemPath) {
  34. Polycode.DummyCore_removeDiskItem(this.__ptr, itemPath)
  35. }
  36. DummyCore.prototype.openFolderPicker = function() {
  37. Polycode.DummyCore_openFolderPicker(this.__ptr)
  38. }
  39. DummyCore.prototype.openFilePicker = function(extensions,allowMultiple) {
  40. Polycode.DummyCore_openFilePicker(this.__ptr, extensions,allowMultiple)
  41. }
  42. DummyCore.prototype.saveFilePicker = function(extensions) {
  43. Polycode.DummyCore_saveFilePicker(this.__ptr, extensions)
  44. }
  45. DummyCore.prototype.handleVideoModeChange = function(modeInfo) {
  46. Polycode.DummyCore_handleVideoModeChange(this.__ptr, modeInfo)
  47. }
  48. DummyCore.prototype.flushRenderContext = function() {
  49. Polycode.DummyCore_flushRenderContext(this.__ptr)
  50. }
  51. DummyCore.prototype.openURL = function(url) {
  52. Polycode.DummyCore_openURL(this.__ptr, url)
  53. }
  54. DummyCore.prototype.getTicks = function() {
  55. Polycode.DummyCore_getTicks(this.__ptr)
  56. }
  57. DummyCore.prototype.executeExternalCommand = function(command,args,inDirectory) {
  58. Polycode.DummyCore_executeExternalCommand(this.__ptr, command,args,inDirectory)
  59. }
  60. DummyCore.prototype.systemParseFolder = function(pathString,showHidden,targetVector) {
  61. Polycode.DummyCore_systemParseFolder(this.__ptr, pathString,showHidden,targetVector)
  62. }