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:
parent
0bad72b51e
commit
fe76a4416c
1 changed files with 2 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue