blob: f2d5a960363e5ffeaadce96bc6fa5fe39c45d248 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
/*
stream-event.hh -- declare Stream_event
source file of the GNU LilyPond music typesetter
(c) 2005-2006 Erik Sandberg <mandolaerik@gmail.com>
*/
#ifndef STREAM_EVENT_HH
#define STREAM_EVENT_HH
#include "lily-proto.hh"
#include "smobs.hh"
#include "prob.hh"
class Stream_event
{
void init ();
SCM property_alist_;
Input *origin_;
public:
Stream_event ();
Input *origin () const;
void set_spot (Input *i);
DECLARE_SCHEME_CALLBACK (undump, (SCM));
DECLARE_SCHEME_CALLBACK (dump, (SCM));
// todo: remove unneeded constructors
Stream_event (SCM property_alist);
Stream_event (SCM class_name, Input *);
Stream_event (Stream_event *ev);
SCM internal_get_property (SCM) const;
void internal_set_property (SCM prop, SCM val);
protected:
DECLARE_SMOBS (Stream_event,);
};
DECLARE_UNSMOB (Stream_event, stream_event);
DECLARE_TYPE_P (Stream_event);
#endif /* STREAM_EVENT_HH */
|