Reformat.
authorCarl Hetherington <carl@carlh.net>
Thu, 4 Nov 2010 20:37:36 +0000 (20:37 +0000)
committerCarl Hetherington <carl@carlh.net>
Thu, 4 Nov 2010 20:37:36 +0000 (20:37 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@7967 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/ardour/bbt_time.h

index b92bd2f18ff09e78d90efbd1c4507e81c07063d4..76e91d575207ca329cc3f4af897fa04fe979c20d 100644 (file)
 namespace ARDOUR {
 
 struct BBT_Time {
-    uint32_t bars;
-    uint32_t beats;
-    uint32_t ticks;
-    
-    BBT_Time() {
-           bars = 1;
-           beats = 1;
-           ticks = 0;
-    }
-    
-    BBT_Time (uint32_t ba, uint32_t be, uint32_t t)
-         : bars (ba), beats (be), ticks (t) {}
-
-    bool operator< (const BBT_Time& other) const {
-           return bars < other.bars ||
-                   (bars == other.bars && beats < other.beats) ||
-                   (bars == other.bars && beats == other.beats && ticks < other.ticks);
-    }
-    
-    bool operator== (const BBT_Time& other) const {
-           return bars == other.bars && beats == other.beats && ticks == other.ticks;
-    }
+       uint32_t bars;
+       uint32_t beats;
+       uint32_t ticks;
+       
+       BBT_Time() {
+               bars = 1;
+               beats = 1;
+               ticks = 0;
+       }
+       
+       BBT_Time (uint32_t ba, uint32_t be, uint32_t t)
+               : bars (ba), beats (be), ticks (t) {}
+       
+       bool operator< (const BBT_Time& other) const {
+               return bars < other.bars ||
+                       (bars == other.bars && beats < other.beats) ||
+                       (bars == other.bars && beats == other.beats && ticks < other.ticks);
+       }
+       
+       bool operator== (const BBT_Time& other) const {
+               return bars == other.bars && beats == other.beats && ticks == other.ticks;
+       }
 };
-
+       
 }
 
 inline std::ostream&