From 30ea7879a444a2daf2f4e693338d037df516f581 Mon Sep 17 00:00:00 2001 From: upstream svn Date: Sat, 6 Nov 2010 19:11:03 +0000 Subject: [PATCH] Cleaned up dummy functions --- .svn-revision | 2 +- src/amule-remote-gui.cpp | 51 +----------------------------------------------- src/amule-remote-gui.h | 6 +++--- 3 files changed, 5 insertions(+), 54 deletions(-) diff --git a/.svn-revision b/.svn-revision index 3513ca89..b6e080bb 100644 --- a/.svn-revision +++ b/.svn-revision @@ -1 +1 @@ -10362 +10363 diff --git a/src/amule-remote-gui.cpp b/src/amule-remote-gui.cpp index f836761d..72952dff 100644 --- a/src/amule-remote-gui.cpp +++ b/src/amule-remote-gui.cpp @@ -825,19 +825,6 @@ void CServerListRem::UpdateServerMetFromURL(wxString url) } -void CServerListRem::SaveServerMet() -{ - // lfroen: stub, nothing to do -} - - -void CServerListRem::FilterServers() -{ - // FIXME: add code - //wxFAIL; -} - - void CServerListRem::RemoveServer(CServer* server) { m_conn->RemoveServer(server->GetIP(),server->GetPort()); @@ -1685,13 +1672,6 @@ void CDownQueueRem::ClearCompleted(const ListOfUInts32 & ecids) } -void CUpDownClientListRem::FilterQueues() -{ - // FIXME: add code - //wxFAIL; -} - - CSearchListRem::CSearchListRem(CRemoteConnect *conn) : CRemoteContainer(conn, true) { m_curr_search = -1; @@ -1860,30 +1840,6 @@ void CStatsUpdaterRem::HandlePacket(const CECPacket *packet) } -bool CUpDownClient::IsBanned() const -{ - // FIXME: add code - return false; -} - - -// -// Those functions have different implementation in remote gui -// -void CUpDownClient::Ban() -{ - // FIXME: add code - wxFAIL; -} - - -void CUpDownClient::UnBan() -{ - // FIXME: add code - wxFAIL; -} - - void CUpDownClient::RequestSharedFileList() { // FIXME: add code @@ -1943,6 +1899,7 @@ void CPartFile::UpdatePartsInfo() } + void CPartFile::UpdateFileRatingCommentAvail() { bool prevComment = m_hasComment; @@ -1979,12 +1936,6 @@ void CPartFile::UpdateFileRatingCommentAvail() } } -bool CPartFile::SavePartFile(bool) -{ - wxFAIL; - return false; -} - void CStatTreeRem::DoRequery() { diff --git a/src/amule-remote-gui.h b/src/amule-remote-gui.h index 3d0c0fd5..d5531d3d 100644 --- a/src/amule-remote-gui.h +++ b/src/amule-remote-gui.h @@ -439,8 +439,8 @@ public: // void RemoveServer(CServer* server); void UpdateServerMetFromURL(wxString url); - void SaveServerMet(); - void FilterServers(); + void SaveServerMet() {} // not needed here + void FilterServers() {} // not needed here // // template @@ -457,7 +457,7 @@ public: const CClientPtrList& GetList() const { return m_items; }; - void FilterQueues(); + void FilterQueues() {} // not needed here // // template // -- 2.11.4.GIT