CuteLogger
Fast and simple logging solution for Qt based applications
src
transportcontrol.h
1
/*
2
* Copyright (c) 2012-2018 Meltytech, LLC
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 3 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
15
* along with this program. If not, see <http://www.gnu.org/licenses/>.
16
*/
17
18
#ifndef TRANSPORTCONTROL_H
19
#define TRANSPORTCONTROL_H
20
21
#include <QObject>
22
23
class
TransportControllable :
public
QObject
24
{
25
Q_OBJECT
26
public
slots:
27
virtual
void
play(
double
speed = 1.0) = 0;
28
virtual
void
pause() = 0;
29
virtual
void
stop() = 0;
30
virtual
void
seek(
int
position) = 0;
31
virtual
void
rewind(
bool
forceChangeDirection) = 0;
32
virtual
void
fastForward(
bool
forceChangeDirection) = 0;
33
virtual
void
previous(
int
currentPosition) = 0;
34
virtual
void
next(
int
currentPosition) = 0;
35
virtual
void
setIn(
int
) = 0;
36
virtual
void
setOut(
int
) = 0;
37
};
38
39
#endif
// TRANSPORTCONTROL_H
Generated on Sun Sep 1 2024 00:00:00 for CuteLogger by
1.12.0