Program Listing for File pcd.hpp

Return to documentation for file (libspookyaction/include/desfire/pcd.hpp)

//
// Created by Pietro Saccardi on 02/01/2021.
//

#ifndef DESFIRE_PCD_HPP
#define DESFIRE_PCD_HPP

#include <mlab/bin_data.hpp>
#include <optional>
#include <utility>

namespace desfire {
    class pcd {
    public:
        [[nodiscard]] virtual std::optional<mlab::bin_data> communicate(mlab::bin_data const &data) = 0;

        virtual ~pcd() = default;
    };
}// namespace desfire

#endif//DESFIRE_PCD_HPP