17 lines
290 B
C++
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
|