projects
/
ardour.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix broken whitespace. I'd apologize for the compile times if it was my fault :D
[ardour.git]
/
libs
/
ardour
/
ardour
/
trimmable.h
1
#ifndef __libardour_trimmable_h__
2
#define __libardour_trimmable_h__
3
4
namespace ARDOUR {
5
6
class Trimmable {
7
public:
8
Trimmable() {}
9
virtual ~Trimmable() {}
10
11
enum CanTrim {
12
FrontTrimEarlier = 0x1,
13
FrontTrimLater = 0x2,
14
EndTrimEarlier = 0x4,
15
EndTrimLater = 0x8,
16
TopTrimUp = 0x10,
17
TopTrimDown = 0x20,
18
BottomTrimUp = 0x40,
19
BottomTrimDown = 0x80
20
} ;
21
22
virtual CanTrim can_trim() const {
23
return CanTrim (FrontTrimEarlier |
24
FrontTrimLater |
25
EndTrimEarlier |
26
EndTrimLater |
27
TopTrimUp |
28
TopTrimDown |
29
BottomTrimUp |
30
BottomTrimDown);
31
}
32
};
33
34
}
35
36
#endif /* __libardour_trimmable_h__ */