X-Git-Url: https://git.jsancho.org/?p=guile-irrlicht.git;a=blobdiff_plain;f=irrlicht%2Fio.scm;fp=irrlicht%2Fio.scm;h=0000000000000000000000000000000000000000;hp=e062e7340ce5a5cc188f54ea935c03fd9cd50ef2;hb=d392bfc335713faab44275624d8fd78139880975;hpb=3bb58c2b45af12c0f9c9eac648e67ac6fa90e104 diff --git a/irrlicht/io.scm b/irrlicht/io.scm deleted file mode 100644 index e062e73..0000000 --- a/irrlicht/io.scm +++ /dev/null @@ -1,57 +0,0 @@ -;;; guile-irrlicht --- FFI bindings for Irrlicht Engine -;;; Copyright (C) 2020 Javier Sancho -;;; -;;; This file is part of guile-irrlicht. -;;; -;;; Guile-irrlicht is free software; you can redistribute it and/or modify -;;; it under the terms of the GNU Lesser General Public License as -;;; published by the Free Software Foundation; either version 3 of the -;;; License, or (at your option) any later version. -;;; -;;; Guile-irrlicht is distributed in the hope that it will be useful, but -;;; WITHOUT ANY WARRANTY; without even the implied warranty of -;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -;;; General Public License for more details. -;;; -;;; You should have received a copy of the GNU Lesser General Public -;;; License along with guile-irrlicht. If not, see -;;; . - - -(define-module (irrlicht io) - #:use-module (oop goops) - #:use-module (ice-9 optargs) - #:use-module (irrlicht foreign) - #:use-module ((irrlicht irr) #:select ())) - - -;; IAttributeExchangingObject -(define-class () - (irr-class #:init-value "IAttributeExchangingObject")) - -(export ) - - -;;IFileArchive -(define-class () - (irr-class #:init-value "IFileArchive")) - -(export ) - - -;;IFileSystem -(define-class () - (irr-class #:init-value "IFileSystem")) - -(define-method (add-file-archive! (file-system ) filename . rest) - (let-keywords rest #f - ((ignore-case #t) - (ignore-paths #t) - (archive-type 'unknown) - (password "") - (ret-archive (make ))) - (let ((addFileArchive (get-irrlicht-proc "addFileArchive" file-system))) - (addFileArchive - file-system filename ignore-case ignore-paths archive-type password ret-archive)))) - -(export add-file-archive!)