/*
This file is part of LilyPond, the GNU music typesetter.
- Copyright (C) 1997--2011 Jan Nieuwenhuizen <janneke@gnu.org>
+ Copyright (C) 1997--2015 Jan Nieuwenhuizen <janneke@gnu.org>
LilyPond is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
class Performance : public Music_output
{
public:
- Performance (bool ports=false);
+ Performance (bool ports = false);
~Performance ();
- DECLARE_CLASSNAME(Performance);
+ DECLARE_CLASSNAME (Performance);
+
+ static Performance *unsmob (SCM p) {
+ return dynamic_cast <Performance *> (Music_output::unsmob (p));
+ }
+ static bool is_smob (SCM p) {
+ return Music_output::is_smob (p) && unsmob (p);
+ }
void add_element (Audio_element *p);
virtual void process ();
void print () const;
void write_output (string filename) const;
- vector<Audio_staff*> audio_staffs_;
- vector<Audio_element*> audio_elements_;
+ vector<Audio_staff *> audio_staffs_;
+ vector<Audio_element *> audio_elements_;
Output_def *midi_;
bool ports_;
};