diff --git a/CMakeLists.txt b/CMakeLists.txt index 634b9615..5725ba65 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -54,7 +54,7 @@ set (LOOT_SRC "${CMAKE_SOURCE_DIR}/src/backend/metadata.cpp" set (LOOT_GUI_SRC ${LOOT_SRC} # Code the API doesn't need. "${CMAKE_SOURCE_DIR}/src/backend/graph.cpp" - "${CMAKE_SOURCE_DIR}/src/backend/git.cpp" + "${CMAKE_SOURCE_DIR}/src/backend/network.cpp" # Actual GUI code. "${CMAKE_SOURCE_DIR}/src/gui/ids.cpp" "${CMAKE_SOURCE_DIR}/src/gui/main.cpp" diff --git a/src/api/api.cpp b/src/api/api.cpp index 5325af0d..192cb183 100644 --- a/src/api/api.cpp +++ b/src/api/api.cpp @@ -158,21 +158,6 @@ unsigned int c_error(const unsigned int code, const std::string& what) { return c_error(loot::error(code, what.c_str())); } -//////////////////////////////////// -// Dummy Masterlist member functions -//////////////////////////////////// - -// The API doesn't depend on libgit2, by not compiling ".git.cpp", so the member functions are defined -// below as dummies. - -namespace loot { - void Masterlist::GetGitInfo(boost::filesystem::path& path) {} - - void Masterlist::Update(Game& game, const unsigned int language) { - this->MetadataList::Load(game.MasterlistPath()); - } -} - ////////////////////////////// // Error Handling Functions