chore: Add course material
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
|
||||
#ifndef COMPANYENTRY_H
|
||||
#define COMPANYENTRY_H
|
||||
|
||||
#include "Entry.h"
|
||||
|
||||
class CompanyEntry : public Entry {
|
||||
public:
|
||||
CompanyEntry(std::string name, std::string category, std::string phone);
|
||||
|
||||
void print(std::string indent = "") const;
|
||||
std::string getPhone() const;
|
||||
std::string getCategory() const;
|
||||
|
||||
void accept(EntryVisitor &) const;
|
||||
|
||||
private:
|
||||
std::string _category;
|
||||
std::string _phone;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user