Projet d'ascenseurs intelligents multi threads pour l'UV LO41
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

27 lines
505 B

//
// Created by Antoine Bartuccio on 06/06/2018.
//
#ifndef LO41_VISITOR_H
#define LO41_VISITOR_H
#include "../Objects.h"
typedef struct o_Visitor {
PRIVATE int id;
PRIVATE char * name;
PRIVATE char * contact_name;
PRIVATE int position;
PRIVATE int destination;
PUBLIC char * (*get_name)(_THIS(Visitor));
PUBLIC int (*get_id)(_THIS(Visitor));
DESTRUCTOR(Visitor);
} Visitor;
FRIENDLY(name, Building)
Visitor *_init_Visitor(int id, char* name, char* contact_name);
#endif //LO41_VISITOR_H