Not Logged In
|
Login
|
Register
Home
|
News
|
Projects
|
Releases
Bugs
|
RFE
|
Repositories
|
Help
projects
/
xestiaab
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ContactLoad Unit Tests: Partial split of tests to Given/When/Then format
[xestiaab/.git]
/
source
/
vcard
/
vcard34conv.cpp
diff --git
a/source/vcard/vcard34conv.cpp
b/source/vcard/vcard34conv.cpp
index
4cccfa3
..
9137a58
100644
(file)
--- a/
source/vcard/vcard34conv.cpp
+++ b/
source/vcard/vcard34conv.cpp
@@
-33,6
+33,8
@@
// RFC 6350 specification.
vCard34Conv::vCard34Conv(){
// RFC 6350 specification.
vCard34Conv::vCard34Conv(){
+
+ // Setup the vCard34Conv object.
vCardBegin = FALSE;
vCardEnd = FALSE;
vCardBegin = FALSE;
vCardEnd = FALSE;
@@
-50,6
+52,8
@@
void vCard34Conv::ConvertV4PropertyProc(wxString *wxSPropertyName,
std::map<wxString,bool> *PropertyLockMap,
bool ProcessItemData, bool *VCardV3Value, bool *XVCardV4Value){
std::map<wxString,bool> *PropertyLockMap,
bool ProcessItemData, bool *VCardV3Value, bool *XVCardV4Value){
+ // Convert and format data to vCard 4.0 specifications.
+
wxString wxSProperty;
wxString wxSPropertySeg1Chopped;
size_t intPropertyLen;
wxString wxSProperty;
wxString wxSPropertySeg1Chopped;
size_t intPropertyLen;
@@
-5953,7
+5957,9
@@
void vCard34Conv::ConvertV4PropertyProc(wxString *wxSPropertyName,
void vCard34Conv::ProcessCaptureStringsProc(wxString *strCapture){
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<int,int> *SplitLength,
int intSize){
std::map<int,int> *SplitLength,
int intSize){
+ // Split the values as required.
+
size_t intPropertyLen = PropertyLine->Len();
int intSplitsFound = 0;
int intSplitSize = 0;
size_t intPropertyLen = PropertyLine->Len();
int intSplitsFound = 0;
int intSplitSize = 0;
@@
-6014,6
+6022,9
@@
void vCard34Conv::SplitValuesData(wxString *PropertyLine,
int intSize,
std::map<wxString,wxString> *SplitData){
int intSize,
std::map<wxString,wxString> *SplitData){
+
+ // Split the data values as required.
+
wxString DataStr;
wxStringTokenizer PropertyElement;
wxString PropertyName;
wxString DataStr;
wxStringTokenizer PropertyElement;
wxString PropertyName;
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software
Xestia Address Book
Xestia Calendar
Development
Xestia Gelforn
Everything else
About
News
Privacy Policy