Remove redundant boolean parameters in NDEF Capable

pull/7822/head
Donatien Garnier 2018-08-03 18:10:35 +01:00
parent 18b2bb37ce
commit da4842de45
1 changed files with 1 additions and 6 deletions

View File

@ -27,22 +27,17 @@ namespace nfc {
public:
bool is_ndef_supported() const;
void set_enable_remote_ndef_reads(bool enable);
void set_enable_remote_ndef_writes(bool enable);
void set_ndef_message_parser(ndef::MessageParser* parser) const;
void set_ndef_message_builder(ndef::MessageBuilder* builder) const;
protected:
void set_ndef_support(bool supported);
bool are_remote_ndef_reads_enabled() const;
bool are_remote_ndef_writes_enabled() const;
ndef::MessageParser* ndef_message_parser();
ndef::MessageBuilder* ndef_message_builder();
private:
bool _ndef_support;
ndef::MessageParser* _message_parser;
ndef::MessageBuilder* _message_builder;
};