MyModernCppStarter/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