1
0
Fork 0
mirror of https://github.com/TheLartians/ModernCppStarter.git synced 2025-08-31 22:21:13 +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 { namespace greeter {
/** Language codes to be used with the Greeter class */ /** 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 * @brief A class for saying hello in multiple languages
*/ */
class GREETER_EXPORT Greeter { class GREETER_EXPORT Greeter {
private:
std::string name; std::string name;
public: public: