X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Faudio-element.hh;h=e678c724d1c418230e827513bdf234270fb652d8;hb=155b705d1bedf668aace5dbe84e65065cd4c5bc0;hp=dc46b926c69a63f3f69e27aedd8648880e77e461;hpb=8aad615ea7bb31f49a0c2afc21eea5ff5de20437;p=lilypond.git diff --git a/lily/include/audio-element.hh b/lily/include/audio-element.hh index dc46b926c6..e678c724d1 100644 --- a/lily/include/audio-element.hh +++ b/lily/include/audio-element.hh @@ -1,23 +1,35 @@ /* - audio-element.hh -- declare Audio_element + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter + Copyright (C) 1997--2015 Han-Wen Nienhuys - (c) 1997--1999 Han-Wen Nienhuys -*/ + LilyPond is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + LilyPond 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 General Public License + along with LilyPond. If not, see . +*/ #ifndef AUDIO_ELEMENT_HH #define AUDIO_ELEMENT_HH #include "virtual-methods.hh" -struct Audio_element { - void print ()const; - - virtual ~Audio_element(); - -protected: - virtual void do_print () const; +class Audio_element +{ +public: + Audio_element (); + virtual ~Audio_element (); + + DECLARE_CLASSNAME (Audio_element); + virtual char const *name () const; }; + #endif // AUDIO_ELEMENT_HH