Skip to content

Commit

Permalink
Added new e-sport module to be implemented cieslarmichal#768
Browse files Browse the repository at this point in the history
  • Loading branch information
Mehdibenhadjkhelifa committed Jul 4, 2024
1 parent cd3bc68 commit 74607bb
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ set(FAKER_SOURCES
modules/videoGame/VideoGame.cpp
modules/weather/Weather.cpp
modules/word/Word.cpp
modules/e-sport/E-sport.cpp
common/FormatHelper.cpp
common/LuhnCheck.cpp
common/StringHelper.cpp
Expand Down Expand Up @@ -77,6 +78,7 @@ set(FAKER_HEADERS
modules/phone/PhoneData.h
modules/color/ColorData.h
modules/lorem/LoremData.h
modules/e-sport/E-sportData.h
)

target_sources(${CMAKE_PROJECT_NAME} PRIVATE ${FAKER_SOURCES} ${FAKER_HEADERS})
Expand Down
17 changes: 17 additions & 0 deletions src/modules/e-sport/E-sport.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#include <string_view>

#include "E-sportData.h"

namespace faker::esport
{
// TODO: Implement functions
std::string_view player() {}

std::string_view team() {}

std::string_view league() {}

std::string_view event() {}

std::string_view game() {}
}
6 changes: 6 additions & 0 deletions src/modules/e-sport/E-sportData.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#pragma once

namespace faker::esport
{
// TODO: provide some data
}

0 comments on commit 74607bb

Please sign in to comment.