summaryrefslogtreecommitdiff
path: root/gtk2_ardour/canvas-sysex.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-02-17 02:19:16 +0000
committerDavid Robillard <d@drobilla.net>2009-02-17 02:19:16 +0000
commitb857756f6034f1d9baf4181e824a5166dfd1acc8 (patch)
treec02fd83c02887a459a52dc49641f94c140889f24 /gtk2_ardour/canvas-sysex.cc
parent022818b4a796f52c0a91eea42e65aec0bc7bed43 (diff)
Remove unnecessary/unused template parameter from canvas sysex flags.
Add license headers to canvas sysex files (tsk, tsk). git-svn-id: svn://localhost/ardour2/branches/3.0@4610 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/canvas-sysex.cc')
-rw-r--r--gtk2_ardour/canvas-sysex.cc45
1 files changed, 29 insertions, 16 deletions
diff --git a/gtk2_ardour/canvas-sysex.cc b/gtk2_ardour/canvas-sysex.cc
index 1e110e52fa..db93b61050 100644
--- a/gtk2_ardour/canvas-sysex.cc
+++ b/gtk2_ardour/canvas-sysex.cc
@@ -1,3 +1,22 @@
+/*
+ Copyright (C) 2009 Paul Davis
+ Author: Hans Baier
+
+ 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
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+*/
+
#include <iostream>
#include "ardour_ui.h"
@@ -7,15 +26,13 @@
using namespace Gnome::Canvas;
using namespace std;
-template<typename Time>
-CanvasSysEx<Time>::CanvasSysEx(
- MidiRegionView& region,
- Group& parent,
- string& text,
- double height,
- double x,
- double y
- )
+CanvasSysEx::CanvasSysEx(
+ MidiRegionView& region,
+ Group& parent,
+ string& text,
+ double height,
+ double x,
+ double y)
: CanvasFlag(
region,
parent,
@@ -23,20 +40,17 @@ CanvasSysEx<Time>::CanvasSysEx(
ARDOUR_UI::config()->canvasvar_MidiSysExOutline.get(),
ARDOUR_UI::config()->canvasvar_MidiSysExFill.get(),
x,
- y
- )
+ y)
{
set_text(text);
}
-template<typename Time>
-CanvasSysEx<Time>::~CanvasSysEx()
+CanvasSysEx::~CanvasSysEx()
{
}
-template<typename Time>
bool
-CanvasSysEx<Time>::on_event(GdkEvent* ev)
+CanvasSysEx::on_event(GdkEvent* ev)
{
switch (ev->type) {
case GDK_BUTTON_PRESS:
@@ -60,4 +74,3 @@ CanvasSysEx<Time>::on_event(GdkEvent* ev)
return false;
}
-template class CanvasSysEx<double>;