2016-02-23 23:16:51 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "platform.hpp"
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
2018-02-19 19:54:37 +00:00
|
|
|
#define MODE_ID_AUTO -1
|
|
|
|
|
2016-02-23 23:16:51 +00:00
|
|
|
class DeckLinkDeviceMode {
|
|
|
|
protected:
|
|
|
|
long long id;
|
|
|
|
IDeckLinkDisplayMode *mode;
|
|
|
|
std::string name;
|
|
|
|
|
|
|
|
public:
|
|
|
|
DeckLinkDeviceMode(IDeckLinkDisplayMode *mode, long long id);
|
|
|
|
DeckLinkDeviceMode(const std::string& name, long long id);
|
|
|
|
virtual ~DeckLinkDeviceMode(void);
|
|
|
|
|
|
|
|
BMDDisplayMode GetDisplayMode(void) const;
|
2018-02-19 19:54:37 +00:00
|
|
|
BMDDisplayModeFlags GetDisplayModeFlags(void) const;
|
2016-02-23 23:16:51 +00:00
|
|
|
long long GetId(void) const;
|
|
|
|
const std::string& GetName(void) const;
|
2018-02-19 19:54:37 +00:00
|
|
|
|
|
|
|
void SetMode(IDeckLinkDisplayMode *mode);
|
2016-02-23 23:16:51 +00:00
|
|
|
};
|