summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/curve.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-07-05 01:31:43 +0000
committerDavid Robillard <d@drobilla.net>2007-07-05 01:31:43 +0000
commit912346057c44f53b7a07a03a66656bb67b86add6 (patch)
treec3523edd0b9b78abea026aa13f96bb4780753b56 /libs/ardour/ardour/curve.h
parentb57510a3a9d789ae1194d3fc6d136044850d3e42 (diff)
Remove unneeded cruft from Curve.
git-svn-id: svn://localhost/ardour2/trunk@2108 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/curve.h')
-rw-r--r--libs/ardour/ardour/curve.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/libs/ardour/ardour/curve.h b/libs/ardour/ardour/curve.h
index 1010e7ef18..433b00a270 100644
--- a/libs/ardour/ardour/curve.h
+++ b/libs/ardour/ardour/curve.h
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2001-2003 Paul Davis
+ Copyright (C) 2001-2007 Paul Davis
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -21,6 +21,7 @@
#define __ardour_curve_h__
#include <sys/types.h>
+#include <boost/utility.hpp>
#include <sigc++/signal.h>
#include <glibmm/thread.h>
#include <pbd/undo.h>
@@ -30,14 +31,10 @@
namespace ARDOUR {
-class Curve
+class Curve : public boost::noncopyable
{
public:
Curve (const AutomationList& al);
- ~Curve ();
- Curve (const Curve& other);
- //Curve (const Curve& other, double start, double end);
- /*Curve (const XMLNode&, Parameter id);*/
bool rt_safe_get_vector (double x0, double x1, float *arg, int32_t veclen);
void get_vector (double x0, double x1, float *arg, int32_t veclen);
@@ -50,10 +47,10 @@ class Curve
void _get_vector (double x0, double x1, float *arg, int32_t veclen);
- const AutomationList& _list;
-
void on_list_dirty() { _dirty = true; }
- bool _dirty;
+
+ bool _dirty;
+ const AutomationList& _list;
};
} // namespace ARDOUR