MyModernCppStarter/include/greeter.h
Lars Melchior c94580f25c init
2020-04-11 12:31:08 +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