]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/grob-interface.hh
Run grand replace for 2015.
[lilypond.git] / lily / include / grob-interface.hh
index d3f7ccae7973b96a4fa3071b5dce28cf8736bd79..fc9e58c4a28c3b3d53f0a2143f5d31cd910c2db1 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 2002--2010 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  Copyright (C) 2002--2015 Han-Wen Nienhuys <hanwen@xs4all.nl>
 
   LilyPond is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
 #include "lily-guile.hh"
 
 #define DECLARE_GROB_INTERFACE() \
-  static SCM interface_symbol_;           \
+  static SCM interface_symbol_;    \
   static bool has_interface (Grob*)
 
-#define ADD_INTERFACE(cl, b, c)                                \
+#define ADD_INTERFACE(cl, b, c)                         \
   SCM cl::interface_symbol_; \
-  bool cl::has_interface (Grob *me)                            \
-  {                                                            \
-    return me->internal_has_interface (interface_symbol_);     \
-  }                                                            \
-  void cl ## _init_ifaces ()                                   \
-  {                                                            \
-    cl::interface_symbol_ = add_interface (#cl, b, c);         \
-  }                                                            \
+  bool cl::has_interface (Grob *me)                             \
+  {                                                             \
+    return me->internal_has_interface (interface_symbol_);      \
+  }                                                             \
+  void cl ## _init_ifaces ()                                    \
+  {                                                             \
+    cl::interface_symbol_ = add_interface (#cl, b, c);          \
+  }                                                             \
   ADD_SCM_INIT_FUNC (cl ## ifaces, cl ## _init_ifaces);
 
 SCM add_interface (char const *cxx_name,
-                   char const *descr,
-                   char const *vars);
+                   char const *descr,
+                   char const *vars);
 
 SCM ly_add_interface (SCM, SCM, SCM);
 void internal_add_interface (SCM, SCM, SCM);