summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/location.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-10-14 16:10:01 +0000
committerDavid Robillard <d@drobilla.net>2009-10-14 16:10:01 +0000
commitbb9cc45cd22af67ac275a5e73accbe14fee664d8 (patch)
treee52977d3eae6ff07b856088041a080a2fa3e5b79 /libs/ardour/ardour/location.h
parent8c4ce1e2ce35571aed5a686671431fdfffae7f8c (diff)
Strip trailing whitespace and fix other whitespace errors (e.g. space/tab mixing). Whitespace changes only.
Vimmers, try let c_space_errors = 1 in your .vimrc to highlight this kind of stuff in red. I don't know the emacs equivalent... git-svn-id: svn://localhost/ardour2/branches/3.0@5773 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/location.h')
-rw-r--r--libs/ardour/ardour/location.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/libs/ardour/ardour/location.h b/libs/ardour/ardour/location.h
index b008a62f18..2a583719cc 100644
--- a/libs/ardour/ardour/location.h
+++ b/libs/ardour/ardour/location.h
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2000 Paul Davis
+ Copyright (C) 2000 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
@@ -31,8 +31,8 @@
#include <glibmm/thread.h>
#include "pbd/undo.h"
-#include "pbd/stateful.h"
-#include "pbd/statefuldestructible.h"
+#include "pbd/stateful.h"
+#include "pbd/statefuldestructible.h"
#include "ardour/ardour.h"
@@ -53,16 +53,16 @@ class Location : public PBD::StatefulDestructible
};
Location (nframes64_t sample_start,
- nframes64_t sample_end,
- const std::string &name,
- Flags bits = Flags(0))
-
+ nframes64_t sample_end,
+ const std::string &name,
+ Flags bits = Flags(0))
+
: _name (name),
_start (sample_start),
_end (sample_end),
_flags (bits),
_locked (false) { }
-
+
Location () {
_start = 0;
_end = 0;
@@ -77,7 +77,7 @@ class Location : public PBD::StatefulDestructible
bool locked() const { return _locked; }
void lock() { _locked = true; changed (this); }
void unlock() { _locked = false; changed (this); }
-
+
nframes64_t start() const { return _start; }
nframes64_t end() const { return _end; }
nframes64_t length() const { return _end - _start; }
@@ -118,7 +118,7 @@ class Location : public PBD::StatefulDestructible
/* this is sent only when both start&end change at the same time */
sigc::signal<void,Location*> changed;
-
+
/* CD Track / CD-Text info */
std::map<std::string, std::string> cd_info;
@@ -145,7 +145,7 @@ class Locations : public PBD::StatefulDestructible
Locations ();
~Locations ();
-
+
const LocationList& list() { return locations; }
void add (Location *, bool make_current = false);