From: Steve Brokenshire Date: Tue, 15 Mar 2016 20:18:01 +0000 (+0000) Subject: Added comments to describe functions in vcard/vcard34conv.cpp X-Git-Tag: release-0.11~56^2~8 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=c880db53427fcae42cf286dbf707b0f422fce411;p=xestiaab%2F.git Added comments to describe functions in vcard/vcard34conv.cpp --- diff --git a/source/vcard/vcard34conv.cpp b/source/vcard/vcard34conv.cpp index 4cccfa3..9137a58 100644 --- a/source/vcard/vcard34conv.cpp +++ b/source/vcard/vcard34conv.cpp @@ -33,6 +33,8 @@ // RFC 6350 specification. vCard34Conv::vCard34Conv(){ + + // Setup the vCard34Conv object. vCardBegin = FALSE; vCardEnd = FALSE; @@ -50,6 +52,8 @@ void vCard34Conv::ConvertV4PropertyProc(wxString *wxSPropertyName, std::map *PropertyLockMap, bool ProcessItemData, bool *VCardV3Value, bool *XVCardV4Value){ + // Convert and format data to vCard 4.0 specifications. + wxString wxSProperty; wxString wxSPropertySeg1Chopped; size_t intPropertyLen; @@ -5953,7 +5957,9 @@ void vCard34Conv::ConvertV4PropertyProc(wxString *wxSPropertyName, void vCard34Conv::ProcessCaptureStringsProc(wxString *strCapture){ - CaptureString(strCapture, FALSE); + // Process code for capturing the strings. + + CaptureString(strCapture, FALSE); } @@ -5962,6 +5968,8 @@ void vCard34Conv::SplitValues(wxString *PropertyLine, std::map *SplitLength, int intSize){ + // Split the values as required. + size_t intPropertyLen = PropertyLine->Len(); int intSplitsFound = 0; int intSplitSize = 0; @@ -6014,6 +6022,9 @@ void vCard34Conv::SplitValuesData(wxString *PropertyLine, int intSize, std::map *SplitData){ + + // Split the data values as required. + wxString DataStr; wxStringTokenizer PropertyElement; wxString PropertyName;