#include #include #include #include #include "vcard.h" #ifndef VCARD34CONV_H #define VCARD34CONV_H class vCard34Conv{ private: wxArrayString SettingNames; wxArrayString SettingValues; int SettingCount; bool vCardBegin; bool vCardEnd; bool vCardFN; float vCardVersion; public: vCard34Conv(); bool ConvertToV3(wxString Filename, wxString *wxSData); bool ConvertToV4(wxString *wxSData, vCard *vCardOut); private: void SplitValues(wxString *PropertyLine, std::map *SplitPoints, std::map *SplitLength, int intSize); void SplitValuesData(wxString *PropertyLine, std::map *SplitPoints, std::map *SplitLength, int intSize, std::map *SplitData); void ConvertV4PropertyProc(wxString *wxSPropertyName, wxString *wxSPropertySeg1Ptr, wxString *wxSPropertySeg2Ptr, wxString *wxSPropertyPropValuesOut, wxString *wxSPropertyDataOut, wxString *wxSPropertyXVCard4Value, wxString *wxSPropertyDataNameOut, std::map *PropertyData, std::map *PropertyLock, bool ProcessItemData, bool *VCardV3Value, bool *XVCardV4Value); void ProcessCaptureStringsB () {} ; void ProcessCaptureStringsProc(wxString *strCapture); template void ProcessCaptureStringsB(StringCapture *string, Args*... args) { ProcessCaptureStringsProc(string); ProcessCaptureStringsB(args...); } template void ProcessCaptureStrings(Args*... args) { //int intSeekSelectedData = 0; ProcessCaptureStringsB(args...); } }; #endif