From 841607d5af30dbb5729ac223907db326ee3dc3f7 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Mon, 14 Mar 2016 22:15:45 +0000 Subject: [PATCH] Added comments to describe functions in search/frmSearch-result.cpp --- source/search/frmSearch-result.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/source/search/frmSearch-result.cpp b/source/search/frmSearch-result.cpp index 6216af1..0b95fd3 100644 --- a/source/search/frmSearch-result.cpp +++ b/source/search/frmSearch-result.cpp @@ -22,6 +22,8 @@ void frmSearch::AddResult( wxCommandEvent& event ){ + // Add a search result. + SRNotif *srnotif = (SRNotif*)event.GetClientData(); // Process Data and add to the list of results. @@ -84,6 +86,8 @@ void frmSearch::AddResult( wxCommandEvent& event ){ void frmSearch::UpdateResult( wxCommandEvent& event ){ + // Update a result. + UCNotif *uc = (UCNotif*)event.GetClientData(); long longSelected = -1; @@ -159,6 +163,8 @@ bool frmSearch::CheckDuplicate(wxString Filename, std::map *SRAcc, std::map *SRFN){ + // Check for duplicate search results. + std::map::iterator fniter; // Check comparison code. @@ -183,6 +189,8 @@ bool frmSearch::CheckDuplicate(wxString Filename, void frmSearch::DeleteResult(wxCommandEvent &event){ + // Delete the search result. + UCNotif *uc = (UCNotif*)event.GetClientData(); long longSelected = -1; -- 2.39.5