1
0
Fork 0
mirror of https://github.com/TheLartians/ModernCppStarter.git synced 2025-08-30 21:51:12 +02:00
ModernCppStarter/include/greeter.h
2020-04-13 18:51:12 +02:00

17 lines
280 B
C++

#pragma once
#include <string>
namespace greeter {
enum class LanguageCode { EN, DE, ES, FR };
class Greeter {
std::string name;
public:
Greeter(std::string name);
std::string greet(LanguageCode lang = LanguageCode::EN) const;
};
} // namespace greeter