}
CaptureString(&PropertyValue, FALSE);
-
- if (FirstToken == TRUE){
-
- PropertyTokens.Append(PropertyName + wxT("=") + PropertyValue);
- FirstToken = FALSE;
-
- } else {
-
- PropertyTokens.Append(wxT(";") + PropertyName + wxT("=") + PropertyValue);
-
- }
+
+ ProcessTokens(&PropertyName, &PropertyValue, &PropertyTokens, &FirstToken);
}
void ProcessTokens(wxString *PropertyName,
wxString *PropertyValue,
wxString *PropertyTokens,
- bool FirstToken){
+ bool *FirstToken){
if (!PropertyName->IsEmpty() && !PropertyValue->IsEmpty() && *PropertyName != wxT("TYPE")){
- if (FirstToken == TRUE){
+ if (*FirstToken == TRUE){
PropertyTokens->Append(*PropertyName + wxT("=") + *PropertyValue);
- FirstToken = FALSE;
+ *FirstToken = FALSE;
} else {
void ProcessTokens(wxString *PropertyName,
wxString *PropertyValue,
wxString *PropertyTokens,
- bool FirstToken);
+ bool *FirstToken);
void ProcessIntegerValue(wxString *PropertyName,
wxString PropertyNameMatch,