/[ghosts]/ghosts/gedcomviewer/src/BakeryGateway/ViewIndividualRecord.cpp
ViewVC logotype

Diff of /ghosts/gedcomviewer/src/BakeryGateway/ViewIndividualRecord.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by cpcp, Mon Feb 17 20:20:08 2003 UTC revision 1.5 by cpcp, Sat Mar 1 12:04:26 2003 UTC
# Line 23  Line 23 
23  #include "options/Options.hh"  #include "options/Options.hh"
24  #include <gtk--/menu.h>  #include <gtk--/menu.h>
25  #include <gtk--/menushell.h>  #include <gtk--/menushell.h>
26    #include <iostream>
27    
28  BakeryGateway::ViewIndividualRecord::ViewIndividualRecord(MMIIndividualRecord * mmi) :  BakeryGateway::ViewIndividualRecord::ViewIndividualRecord(MMIIndividualRecord * mmi) :
29    _mmi_individual_record(mmi),    _mmi_individual_record(mmi),
# Line 142  void BakeryGateway::ViewIndividualRecord Line 143  void BakeryGateway::ViewIndividualRecord
143    
144  void BakeryGateway::ViewIndividualRecord::Goto(std::string const &key)  void BakeryGateway::ViewIndividualRecord::Goto(std::string const &key)
145  {  {
146      std::cerr << "BakeryGateway::ViewIndividualRecord::Goto START" << std::endl;
147    if (_individuals.size() != 0)    if (_individuals.size() != 0)
148      {      {
149        GEDCOMParser::IndividualRecords_t::const_iterator iter = _individuals.find(key);        GEDCOMParser::IndividualRecords_t::const_iterator iter = _individuals.find(key);
150        if (iter != _individuals.end())        if (iter != _individuals.end())
151          {          {
152              std::cerr << "BakeryGateway::ViewIndividualRecord::Goto ITER FOUND" << std::endl;
153            SetCurrentIndividu(iter);            SetCurrentIndividu(iter);
154              std::cerr << "BakeryGateway::ViewIndividualRecord::Goto SetCurrentIndividu DONE" << std::endl;
155          }          }
156      }      }
157      std::cerr << "BakeryGateway::ViewIndividualRecord::Goto END" << std::endl;
158    return;    return;
159  }  }
160    

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26