X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=inline;f=gtk2_ardour%2Ftime_selection.cc;h=19fc321f785a5378f0899f1d625841cabdd52133;hb=911fdb576e15283897cb7648d07f4ba14ec8f78e;hp=eac7bd70f54ebf0dbf4f6caf01462ba40729581d;hpb=d6ef740e9002c7112bc47cb2d9d8d4b8609aa089;p=ardour.git diff --git a/gtk2_ardour/time_selection.cc b/gtk2_ardour/time_selection.cc index eac7bd70f5..19fc321f78 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 @@ -19,8 +19,8 @@ #include -#include -#include +#include "pbd/error.h" +#include "ardour/ardour.h" #include "time_selection.h" @@ -66,9 +66,9 @@ TimeSelection::consolidate () } return changed; -} +} -nframes_t +nframes_t TimeSelection::start () { if (empty()) { @@ -85,7 +85,7 @@ TimeSelection::start () return first; } -nframes_t +nframes_t TimeSelection::end_frame () { nframes_t last = 0; @@ -105,4 +105,4 @@ TimeSelection::length() { return end_frame() - start() + 1; } - +