summaryrefslogtreecommitdiffstats
path: root/gtk2/status.h
blob: c98e4c9b0caac116b15966bca794c5b56519d0c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
 *
 */

enum HBState_e
{
    HB_STATE_NEED_DEVICE,
    HB_STATE_SCANNING,
    HB_STATE_INVALID_DEVICE,
    HB_STATE_READY_TO_RIP,
    HB_STATE_ENCODING,
    HB_STATE_DONE,
    HB_STATE_CANCELED,
    HB_STATE_ERROR,
};

typedef struct
{
    int i_state;
    int i_error;
    int b_new;

    int i_title;
    int i_title_count;

    HBList *titleList;

    float   position;
    int     i_remaining;
    float   fps;

} HBStatus;