]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/prob.hh
Doc-es: various updates.
[lilypond.git] / lily / include / prob.hh
index bcdb1250986e1572b4fa09493b68a7b773f88687..a9a485b5502642924d8610e352ec7b2967b3d2d6 100644 (file)
@@ -20,6 +20,7 @@
 #ifndef PROPERTY_OBJECT_HH
 #define PROPERTY_OBJECT_HH
 
+#include "pitch.hh"
 #include "stencil.hh"
 #include "virtual-methods.hh"
 
@@ -37,7 +38,7 @@ public:
   int print_smob (SCM, scm_print_state *) const;
   SCM mark_smob () const;
   static SCM equal_p (SCM, SCM);
-  static const char type_p_name_[];
+  static const char * const type_p_name_;
   virtual ~Prob ();
 private:
   DECLARE_CLASSNAME (Prob);
@@ -55,12 +56,18 @@ protected:
 public:
   Prob (SCM, SCM);
   Prob (Prob const &);
-  virtual std::string name () const;
+  virtual string name () const;
   SCM type () const { return type_; }
   SCM get_property_alist (bool _mutable) const;
   SCM internal_get_property (SCM sym) const;
   void instrumented_set_property (SCM, SCM, const char *, int, const char *);
   void internal_set_property (SCM sym, SCM val);
+
+  // Needed in both Music and Stream_event
+  // For technical reasons defined in lily/music.cc
+  //
+  /// Transpose, with the interval central C to #p#
+  void transpose (Pitch p);
 };