aboutsummaryrefslogtreecommitdiff
path: root/VKPC/Types.h
blob: 6797d466325ef91751bee82cfdc0f6ec432290d7 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
//
//  Types.h
//  VKPC
//
//  Created by Eugene on 10/22/14.
//  Copyright (c) 2014 Eugene Z. All rights reserved.
//

#ifndef VKPC_Types_h
#define VKPC_Types_h

typedef enum {
    PlayingStatusUndefined = -1,
    PlayingStatusNotPlaying = 0,
    PlayingStatusPlaying = 1,
    PlayingStatusPaused = 2
} PlayingStatus;

typedef struct {
    NSInteger index;
    PlayingStatus status;
} PlayingTrackStatus;

typedef enum {
    InterfaceStyleLegacy,
    InterfaceStyleYosemite,
    InterfaceStyleYosemiteDark
} InterfaceStyle;

typedef enum {
    PopoverStateSystemConfigurationRequired,
    PopoverStatePlaylistNotLoaded,
    PopoverStatePlaylistLoaded
} PopoverState;

enum {
    BrowserChrome = 0,
    BrowserFirefox = 1,
    BrowserSafari = 2,
    BrowserOpera = 3,
    BrowserYandex = 4,
    
    BrowsersCount = 5
};

#endif