]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/performer.hh
Issue 4842/2: Add Method_instance class
[lilypond.git] / lily / include / performer.hh
index 82b4ce50cc2b66bf04e228ebc74aacd476ce64f4..70354fdbf2d845f9fe2a571339170b2c0681b43b 100644 (file)
 class Performer : public Translator
 {
 public:
-  VIRTUAL_COPY_CONSTRUCTOR (Translator, Performer);
+  DECLARE_CLASSNAME (Performer);
   friend class Performer_group;
   Performer_group *get_daddy_performer () const;
-  static Performer *unsmob (SCM perf) {
-    return dynamic_cast <Performer *> (Translator::unsmob (perf));
-  }
-  static bool is_smob (SCM perf) {
-    return Translator::is_smob (perf) && unsmob (perf);
-  }
 
 protected:
   virtual void announce_element (Audio_element_info);