mirror of
https://github.com/TheLartians/ModernCppStarter.git
synced 2025-09-03 23:50:53 +02:00
Use m.css for generating doxygen docs
This commit is contained in:
parent
2f1b5fab76
commit
ef03aab73e
4 changed files with 28 additions and 19 deletions
|
@ -2,26 +2,29 @@
|
|||
|
||||
#include <string>
|
||||
|
||||
/**
|
||||
* @brief The greeter namespace
|
||||
*/
|
||||
namespace greeter {
|
||||
|
||||
/** Language codes to be used with the Greeter class */
|
||||
enum class LanguageCode { EN, DE, ES, FR };
|
||||
|
||||
/**
|
||||
* A class for saying hello in multiple languages
|
||||
* @brief A class for saying hello in multiple languages
|
||||
*/
|
||||
class Greeter {
|
||||
std::string name;
|
||||
|
||||
public:
|
||||
/**
|
||||
* Creates a new greeter
|
||||
* @brief Creates a new greeter
|
||||
* @param name the name to greet
|
||||
*/
|
||||
Greeter(std::string name);
|
||||
|
||||
/**
|
||||
* Creates a localized string containing the greeting
|
||||
* @brief Creates a localized string containing the greeting
|
||||
* @param lang the language to greet in
|
||||
* @return a string containing the greeting
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue