Browse Subversion Repository
Contents of /trunk/Ruby_bindings/MDRubyTrack.h
Parent Directory
| Revision Log
Revision 4 -
( show annotations)
( download)
( as text)
Sat Sep 3 06:22:57 2011 UTC
(12 years, 7 months ago)
by toshinagata1964
File MIME type: text/x-chdr
File size: 958 byte(s)
initial import
| 1 |
// |
| 2 |
// MDRubyTrack.h |
| 3 |
// Alchemusica |
| 4 |
// |
| 5 |
// Created by Toshi Nagata on 08/03/27. |
| 6 |
// Copyright 2008-2011 Toshi Nagata. All rights reserved. |
| 7 |
/* |
| 8 |
This program is free software; you can redistribute it and/or modify |
| 9 |
it under the terms of the GNU General Public License as published by |
| 10 |
the Free Software Foundation version 2 of the License. |
| 11 |
|
| 12 |
This program is distributed in the hope that it will be useful, |
| 13 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 |
GNU General Public License for more details. |
| 16 |
*/ |
| 17 |
|
| 18 |
#ifndef __MDRubyTrack__ |
| 19 |
#define __MDRubyTrack__ |
| 20 |
|
| 21 |
#include "MDHeaders.h" |
| 22 |
#include <ruby.h> |
| 23 |
|
| 24 |
// Track class |
| 25 |
extern VALUE rb_cMRTrack; |
| 26 |
|
| 27 |
MDTrack *MDTrackFromMRTrackValue(VALUE val); |
| 28 |
struct MyDocumentTrackInfo *TrackInfoFromMRTrackValue(VALUE val); |
| 29 |
VALUE MRTrackValueFromTrackInfo(MDTrack *track, void *doc, int num); |
| 30 |
|
| 31 |
void MRTrackInitClass(void); |
| 32 |
|
| 33 |
#endif /* __MDRubyTrack__ */ |
|