&BusinessNicknamesListLanguage, &BusinessNicknamesListPref,
&BusinessNicknamesListTokens, SaveData, "work");
- // TODO: Process GENDER.
+ // Process GENDER.
+
+ if (Gender.size() > 0){
+
+ ProcessData.Append("GENDER");
+
+ if (GenderTokens.size() > 0){
+
+ ProcessData.Append(";");
+ ProcessData.Append(GenderTokens);
+
+ }
+
+ ProcessData.Append(":");
+ ProcessData.Append(Gender);
+
+ if (GenderDetails.size() > 0){
+
+ ProcessData.Append(";");
+ ProcessData.Append(GenderDetails);
+
+ }
+
+ ProcessData.Append("\n");
+
+ ProcessData = OutputText(&ProcessData);
+
+ SaveData->Append(ProcessData);
+ ProcessData.clear();
+
+ }
// TODO: Process BDAY.
" y\n"
"NICKNAME;TYPE=work;ALTID=99;LANGUAGE=en-GB;PID=10;PREF=1;YAY=Maybe;Boop=Boing\n"
" :The Testing One\n"
+ "GENDER;BEEP=Boop:F;Example Text\n"
"TITLE;ALTID=20;LANGUAGE=text/plain;PID=21;PREF=22;EEP=LIGHT:Lord of Light\n"
"TITLE;TYPE=home;ALTID=30;LANGUAGE=grass/dry;PID=31;PREF=32;EEP=DARK:Lord of D\n"
" arkness\n"