f53df7da64
Code submissions have continually suffered from formatting inconsistencies that constantly have to be addressed. Using clang-format simplifies this by making code formatting more consistent, and allows automation of the code formatting so that maintainers can focus more on the code itself instead of code formatting.
19 lines
338 B
C++
19 lines
338 B
C++
#include "DecklinkBase.h"
|
|
|
|
DecklinkBase::DecklinkBase(DeckLinkDeviceDiscovery *discovery_)
|
|
: discovery(discovery_)
|
|
{
|
|
}
|
|
|
|
DeckLinkDevice *DecklinkBase::GetDevice() const
|
|
{
|
|
return instance ? instance->GetDevice() : nullptr;
|
|
}
|
|
|
|
bool DecklinkBase::Activate(DeckLinkDevice *, long long)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
void DecklinkBase::Deactivate() {}
|