diff --git a/src/about.cpp b/src/about.cpp index 2bc3bef..94d1a81 100644 --- a/src/about.cpp +++ b/src/about.cpp @@ -45,6 +45,11 @@ std::string about::get_link_discord() { return std::string("https://discord.gg/QMZMaTx5b4"); } + +std::string about::get_link_repo() +{ + return std::string("https://github.com/tresinformal/drakkar"); +} /* { about ab; @@ -61,6 +66,10 @@ void test_about() std::vector contributors = ab.get_contributors(); } + { + about ab; + std::string link_to_gh = ab.get_link_repo(); + } #ifdef FIX_ISSUE_600 // (600) The list of contributors is up-to-date diff --git a/src/about.h b/src/about.h index 1df061a..8b46670 100644 --- a/src/about.h +++ b/src/about.h @@ -16,6 +16,9 @@ class about /// Get a discord link that is permanent std::string get_link_discord(); + + /// Get a repo link that is permanent + std::string get_link_repo(); }; void test_about();