CuteLogger
Fast and simple logging solution for Qt based applications
mvcp
mvcp_status.h
1
/*
2
* mvcp_status.h -- Unit Status Handling
3
* Copyright (C) 2002-2015 Meltytech, LLC
4
* Author: Charles Yates <charles.yates@pandora.be>
5
*
6
* This library is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU Lesser General Public
8
* License as published by the Free Software Foundation; either
9
* version 2.1 of the License, or (at your option) any later version.
10
*
11
* This library is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
* Lesser General Public License for more details.
15
*
16
* You should have received a copy of the GNU Lesser General Public
17
* License along with this library; if not, write to the Free Software
18
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19
*/
20
21
#ifndef _MVCP_STATUS_H_
22
#define _MVCP_STATUS_H_
23
24
#include <stdint.h>
25
26
#ifdef __cplusplus
27
extern
"C"
28
{
29
#endif
30
34
typedef
enum
35
{
36
unit_unknown = 0,
37
unit_undefined,
38
unit_offline,
39
unit_not_loaded,
40
unit_stopped,
41
unit_playing,
42
unit_paused,
43
unit_disconnected
44
}
45
unit_status;
46
50
typedef
struct
51
{
52
int
unit;
53
unit_status status;
54
char
clip[ 2048 ];
55
int32_t position;
56
int
speed;
57
double
fps;
58
int32_t in;
59
int32_t out;
60
int32_t length;
61
char
tail_clip[ 2048 ];
62
int32_t tail_position;
63
int32_t tail_in;
64
int32_t tail_out;
65
int32_t tail_length;
66
int
seek_flag;
67
int
generation;
68
int
clip_index;
69
int
dummy;
70
}
71
*
mvcp_status
,
mvcp_status_t
;
72
76
extern
void
mvcp_status_parse(
mvcp_status
,
char
* );
77
extern
char
*mvcp_status_serialise(
mvcp_status
,
char
*,
int
);
78
extern
int
mvcp_status_compare(
mvcp_status
,
mvcp_status
);
79
extern
mvcp_status
mvcp_status_copy(
mvcp_status
,
mvcp_status
);
80
81
#ifdef __cplusplus
82
}
83
#endif
84
85
#endif
mvcp_status
Definition:
mvcp_status.h:50
Generated on Mon Jan 8 2018 20:06:12 for CuteLogger by
1.8.13