From: Steve Brokenshire Date: Mon, 14 Mar 2016 22:15:45 +0000 (+0000) Subject: Added comments to describe functions in search/frmSearch-result.cpp X-Git-Tag: release-0.11~57^2~2 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=841607d5af30dbb5729ac223907db326ee3dc3f7;p=xestiaab%2F.git Added comments to describe functions in search/frmSearch-result.cpp --- 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;