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

17 lines
321 B
C++
Raw Permalink Normal View History

2020-12-22 14:30:09 +02:00
/**
* @file ChoiceModel.cpp
* @brief ChoiceModel implementation file
* */
#include <vector>
#include "model.h"
ChoiceModel::ChoiceModel(char* ssid, char * authToken){
this->ssid = ssid;
this->authToken = authToken;
this->choices = NULL;
this->choice_list = new std::vector<choice_t>();
this->ballot = NULL;
}