diff options
Diffstat (limited to 'VKPC/Types.h')
-rw-r--r-- | VKPC/Types.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/VKPC/Types.h b/VKPC/Types.h new file mode 100644 index 0000000..6797d46 --- /dev/null +++ b/VKPC/Types.h @@ -0,0 +1,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 |