/[ghosts]/ghosts/gedcomviewer/src/BakeryGateway/ViewLinkedNote.hh
ViewVC logotype

Diff of /ghosts/gedcomviewer/src/BakeryGateway/ViewLinkedNote.hh

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

revision 1.2 by cpcp, Tue Nov 12 21:25:22 2002 UTC revision 1.3 by cpcp, Mon Dec 1 20:11:00 2003 UTC
# Line 26  Line 26 
26  #include "bakery/bakery.h"  #include "bakery/bakery.h"
27  #include "BakeryExtras/View_Linked.hh"  #include "BakeryExtras/View_Linked.hh"
28  #include "BakeryGateway/Document.hh"  #include "BakeryGateway/Document.hh"
29    #include "GEDCOMParser/AttachmentManager.hh"
30  #include "GEDCOMParser/NoteStructure.hh"  #include "GEDCOMParser/NoteStructure.hh"
31    
32  namespace BakeryGateway {  namespace BakeryGateway {
# Line 45  namespace BakeryGateway { Line 46  namespace BakeryGateway {
46        _mmi->clear();        _mmi->clear();
47        if (_parent_entity != 0)        if (_parent_entity != 0)
48          {          {
49            GEDCOMParser::NoteStructures_t notes = _parent_entity->getNoteStructures();            GEDCOMParser::AttachmentManager::NoteStructures_t notes = _parent_entity->getNoteStructures();
50            for (GEDCOMParser::NoteStructures_t::const_iterator note_iter = notes.begin(); note_iter != notes.end(); note_iter++)            for (GEDCOMParser::AttachmentManager::NoteStructures_t::const_iterator note_iter = notes.begin(); note_iter != notes.end(); note_iter++)
51              {              {
52                _mmi->add_text((*note_iter)->getSubmitterText());                _mmi->add_text((*note_iter)->getSubmitterText());
53              }              }

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

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