| 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 { |
| 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 |
} |
} |