X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2FfrmSearch.cpp;h=542b646f7db54b874e19f117665cc6765426644f;hb=0196fe8c3207fc5e4a81593a23ae6858e5b596e8;hp=73ca64df9aecc1b524815027aa412b776a165682;hpb=9483d7e544ae6e830b61ad612555a79315fc58e3;p=xestiaab%2F.git diff --git a/source/frmSearch.cpp b/source/frmSearch.cpp index 73ca64d..542b646 100644 --- a/source/frmSearch.cpp +++ b/source/frmSearch.cpp @@ -9,9 +9,6 @@ #include #include -/*#include -#include -#include */ #include #include @@ -41,8 +38,6 @@ BEGIN_EVENT_TABLE(frmSearch, wxFrame) EVT_COMMAND(wxID_ANY, SE_REVEALCONTACT, frmSearch::RevealContact) END_EVENT_TABLE() -//namespace boostfs = boost::filesystem; - frmSearch::frmSearch( wxWindow* parent ) : frmSearchADT( parent ) @@ -175,13 +170,8 @@ void frmSearch::SearchContactsThread(){ 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; @@ -189,15 +179,12 @@ void frmSearch::SearchContactsThread(){ 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){