Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Created ProcessNameValue for splitting name & value data.
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Mon, 28 Dec 2015 05:46:50 +0000 (05:46 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Mon, 28 Dec 2015 05:46:50 +0000 (05:46 +0000)
source/contacteditor/ContactDataObject.cpp
source/contacteditor/ContactDataObject.h

index cba012d..85b1320 100644 (file)
@@ -4767,6 +4767,16 @@ void ContactDataObject::ProcessVendor(wxString PropertySeg1, wxString PropertySe
 
 }
 
+void ProcessNameValue(wxString *PropertyData, 
+       wxString *PropertyName, 
+       wxString *PropertyValue){
+
+       wxStringTokenizer PropertyElement (*PropertyData, wxT("="));
+       *PropertyName = PropertyElement.GetNextToken();                         
+       *PropertyValue = PropertyElement.GetNextToken();
+
+}
+
 void ProcessTokens(wxString *PropertyName,
        wxString *PropertyValue,
        wxString *PropertyTokens,
index 06a6f93..6317312 100644 (file)
@@ -618,6 +618,10 @@ void CheckType(wxString *PropertySeg1,
        int *intPrevValue, 
        PropertyType *intType);
 
+void ProcessNameValue(wxString *PropertyData, 
+       wxString *PropertyName, 
+       wxString *PropertyValue);
+
 void ProcessTokens(wxString *PropertyName,
        wxString *PropertyValue,
        wxString *PropertyTokens,
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy