#include <thread>
#include <wx/fs_mem.h>
-/*#include <boost/filesystem.hpp>
-#include <boost/filesystem/fstream.hpp>
-#include <boost/filesystem/path.hpp>*/
#include <wx/tokenzr.h>
#include <wx/dir.h>
EVT_COMMAND(wxID_ANY, SE_REVEALCONTACT, frmSearch::RevealContact)
END_EVENT_TABLE()
-//namespace boostfs = boost::filesystem;
-
frmSearch::frmSearch( wxWindow* parent )
:
frmSearchADT( parent )
wxString AccountDir = GetAccountDir(SAPiter->second, FALSE);
- //boostfs::path vcarddir(AccountDir.c_str());
- //boostfs::directory_iterator dir_end;
-
- //boostfs::path vcardfilename;
wxString vcardfilenamewxs;
wxStringTokenizer vcardfileline;
- //std::string l;
wxString lwxs;
wxString setname, setvalue;
long ContactIndex = 1;
wxString vCardFilename;
wxString vCardFilenameFull;
- //if (boostfs::exists(vcarddir)){
if (wxDirExists(AccountDir)){
wxDir vcardaccdir(AccountDir);
bool ProcFiles = vcardaccdir.GetFirst(&vCardFilename, wxEmptyString, wxDIR_FILES);
while(ProcFiles){
- //for (boostfs::directory_iterator vcarddir_iter(vcarddir);
- // vcarddir_iter != dir_end ; ++vcarddir_iter){
if (StopMode == FALSE){