Ardour
8.12
trimmable.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2010-2015 Paul Davis <paul@linuxaudiosystems.com>
3
*
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; either version 2 of the License, or
7
* (at your option) any later version.
8
*
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License along
15
* with this program; if not, write to the Free Software Foundation, Inc.,
16
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17
*/
18
19
#ifndef __libardour_trimmable_h__
20
#define __libardour_trimmable_h__
21
22
namespace
ARDOUR
{
23
24
class
LIBARDOUR_API
Trimmable
{
25
public
:
26
Trimmable
() {}
27
virtual
~Trimmable
() {}
28
29
enum
CanTrim
{
30
FrontTrimEarlier = 0x1,
31
FrontTrimLater = 0x2,
32
EndTrimEarlier = 0x4,
33
EndTrimLater = 0x8,
34
TopTrimUp = 0x10,
35
TopTrimDown = 0x20,
36
BottomTrimUp = 0x40,
37
BottomTrimDown = 0x80
38
} ;
39
40
virtual
CanTrim
can_trim
()
const
{
41
return
CanTrim
(FrontTrimEarlier |
42
FrontTrimLater |
43
EndTrimEarlier |
44
EndTrimLater |
45
TopTrimUp |
46
TopTrimDown |
47
BottomTrimUp |
48
BottomTrimDown);
49
}
50
};
51
52
}
53
54
#endif
/* __libardour_trimmable_h__ */
ARDOUR::Trimmable
Definition:
trimmable.h:24
ARDOUR::Trimmable::~Trimmable
virtual ~Trimmable()
Definition:
trimmable.h:27
ARDOUR::Trimmable::CanTrim
CanTrim
Definition:
trimmable.h:29
ARDOUR::Trimmable::Trimmable
Trimmable()
Definition:
trimmable.h:26
ARDOUR::Trimmable::can_trim
virtual CanTrim can_trim() const
Definition:
trimmable.h:40
LIBARDOUR_API
#define LIBARDOUR_API
Definition:
libardour_visibility.h:39
ARDOUR
Definition:
analysis_window.h:45
libs
ardour
ardour
trimmable.h
Generated on Mon Mar 10 2025 20:26:30 for Ardour by
1.9.1