source file of the GNU LilyPond music typesetter
- (c) 2004--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ (c) 2004--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
*/
#ifndef CONTEXT_HH
#define CONTEXT_HH
#include "context-key-manager.hh"
-#include "lily-proto.hh"
#include "listener.hh"
#include "moment.hh"
#include "std-vector.hh"
Scheme_hash_table *properties_dict () const;
Context (Context const &src);
- DECLARE_SMOBS (Context, dummy);
+ DECLARE_SMOBS (Context);
DECLARE_CLASSNAME(Context);
void terminate ();
/* properties: */
SCM internal_get_property (SCM name_sym) const;
SCM properties_as_alist () const;
- void internal_set_property (SCM var_sym, SCM value);
Context *where_defined (SCM name_sym, SCM *value) const;
void unset_property (SCM var_sym);
+#ifndef NDEBUG
+ void internal_set_property (SCM var_sym, SCM value, char const *file, int line, char const *fun);
+#else
+ void internal_set_property (SCM var_sym, SCM value);
+#endif
+
Context *create_context (Context_def *, string, SCM);
DECLARE_LISTENER (create_context_from_event);
DECLARE_LISTENER (acknowledge_infant);
void add_context (Context *trans);
bool is_bottom_context () const;
bool is_removable () const;
- bool try_music (Music *);
Context *find_create_context (SCM context_name,
string id, SCM ops);