Damn scalar initializers

This commit is contained in:
Ondrej Mikle 2014-07-19 01:43:28 +02:00
parent cafd967ed6
commit cb05d5a063
2 changed files with 32 additions and 0 deletions

View file

@ -1,6 +1,10 @@
#pragma once
#include <string>
#include <inttypes.h>
#include <nfc/nfc.h>
#include <nfc/nfc-types.h>
class NFCDevice
{
@ -12,4 +16,14 @@ public:
~NFCDevice() {}
std::string scanUID();
uint8_t pollNr;
uint8_t pollPeriod;
protected:
static const nfc_modulation _modulations[5];
static const size_t _modulationsLen = 5;
};