MyModernCppStarter/include/greeter.h
2020-04-11 12:59:41 +02:00

17 lines
290 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 = "World");
std::string greet(LanguageCode lang = LanguageCode::EN) const;
};
} // namespace greeter