comparison implementations/gsharp/methods.lisp @ 163:83023a2668d2

Add constructors for gsharp identifiers darcs-hash:20071218120203-40ec0-dc2bf7d840f4459d4277b11a70b4b9895d0eaf7d.gz
author d.lewis <d.lewis@gold.ac.uk>
date Tue, 18 Dec 2007 12:02:03 +0000
parents 110e957a7e3c
children f1d0ea63581c
comparison
equal deleted inserted replaced
162:110e957a7e3c 163:83023a2668d2
22 (gsharp-mxml::musicxml-document 22 (gsharp-mxml::musicxml-document
23 (%gsharp-identifier-pathname id))))) 23 (%gsharp-identifier-pathname id)))))
24 (gsharp::recompute-measures buffer) 24 (gsharp::recompute-measures buffer)
25 (segment-composition (car (gsharp::segments buffer))))) 25 (segment-composition (car (gsharp::segments buffer)))))
26 26
27 ;; These may want another file
28 (defun gsh-id (pathname)
29 "Creates an identifier for gsh files, based on a pathname"
30 (make-instance 'gsharp-gsh-identifier :path pathname))
31
32 (defun mxml-id (pathname)
33 "Creates an identifier for MusicXML files, based on a pathname"
34 (make-instance 'gsharp-mxml-identifier :path pathname))
35
27 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 36 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
28 ;; 37 ;;
29 ;; These versions may not be useful, but create and return a gsharp 38 ;; These versions may not be useful, but create and return a gsharp
30 ;; application frame as well as a composition 39 ;; application frame as well as a composition
31 40