]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/moment.hh
* Another grand 2003 update.
[lilypond.git] / lily / include / moment.hh
index 1b132cb60c6245919386fd6128c1a3e2422a2795..b95cf42b4d8183687ecaa518923bde8278ef2499 100644 (file)
@@ -3,7 +3,7 @@
   
   source file of the GNU LilyPond music typesetter
   
-  (c) 1999--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c)  1999--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
   
  */
 
@@ -47,7 +47,7 @@ public:
     Deliver a copy of THIS as a smobified SCM
    */
   SCM smobbed_copy () const;
-  String str () const;
+  String to_string () const;
   static int compare (Moment const&, Moment const&);
   
 };
@@ -56,14 +56,14 @@ IMPLEMENT_ARITHMETIC_OPERATOR (Moment, - );
 IMPLEMENT_ARITHMETIC_OPERATOR (Moment, / );
 IMPLEMENT_ARITHMETIC_OPERATOR (Moment, * );
 
-ostream & operator << ( ostream &,Moment const &);
 
 DECLARE_UNSMOB(Moment,moment);
 int compare (Moment const&,Moment const&);
 INSTANTIATE_COMPARE (Moment const&, Moment::compare);
 
-#if 0
-IMPLEMENT_ARITHMETIC_OPERATOR (Moment, % );
+
+#ifdef STREAM_SUPPORT
+std::ostream & operator << (std::ostream &, Moment const &);
 #endif
 
 #endif /* MOMENT_HH */