PersonalVotingMachine/basic-setup/main/impl/models/VoteModel.cpp

21 lines
346 B
C++
Raw Permalink Normal View History

2020-12-22 14:30:09 +02:00
/**
* @file VoteModel.cpp
* @brief VoteModel implementation file
* */
#include "string.h";
#include "model.h"
VoteModel::VoteModel(char* ssid, char* authToken, unsigned char* voteBase64, char* choices){
this->ssid = ssid;
this->authToken = authToken;
this->choices = choices;
this->voteBase64 = voteBase64;
this->voteID = NULL;
}