1
0
Fork 0
mirror of https://github.com/TheLartians/ModernCppStarter.git synced 2025-08-30 21:51:12 +02:00

export all, but not privates

This commit is contained in:
ClausKlein 2021-02-15 00:05:17 +01:00
parent 0bad72b51e
commit fe76a4416c

View file

@ -7,12 +7,13 @@
namespace greeter {
/** Language codes to be used with the Greeter class */
enum class LanguageCode { EN, DE, ES, FR };
enum class GREETER_EXPORT LanguageCode { EN, DE, ES, FR };
/**
* @brief A class for saying hello in multiple languages
*/
class GREETER_EXPORT Greeter {
private:
std::string name;
public: