X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Ftime_selection.cc;h=185c7e1eeadf06112e8009df0814b16c48f18dcd;hb=5b520324ceab2559723b4ef5127301fa61ff4846;hp=c0a05abc458ff13fa2edb0fad6425f5b8f0cfb86;hpb=93c7aeba048f19df5abee5e4325ef8b0ef62c279;p=ardour.git diff --git a/gtk2_ardour/time_selection.cc b/gtk2_ardour/time_selection.cc index c0a05abc45..185c7e1eea 100644 --- a/gtk2_ardour/time_selection.cc +++ b/gtk2_ardour/time_selection.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2003-2004 Paul Davis + Copyright (C) 2003-2004 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 @@ -15,13 +15,12 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id$ */ #include -#include -#include +#include "pbd/error.h" +#include "ardour/ardour.h" #include "time_selection.h" @@ -67,9 +66,9 @@ TimeSelection::consolidate () } return changed; -} +} -nframes_t +nframes_t TimeSelection::start () { if (empty()) { @@ -86,7 +85,7 @@ TimeSelection::start () return first; } -nframes_t +nframes_t TimeSelection::end_frame () { nframes_t last = 0; @@ -106,4 +105,3 @@ TimeSelection::length() { return end_frame() - start() + 1; } -