| 30 |
#include <gtk--/button.h> |
#include <gtk--/button.h> |
| 31 |
#include <sigc++/object.h> |
#include <sigc++/object.h> |
| 32 |
#include <string> |
#include <string> |
|
|
|
|
class OneFamilyLink; |
|
|
|
|
| 33 |
#include "MMIMenuLinkEditor.hh" |
#include "MMIMenuLinkEditor.hh" |
| 34 |
|
|
| 35 |
class OneFamilyLink : public SigC::Object |
class OneFamilyLink : public SigC::Object |
| 43 |
void setFamilyRecordNote(WidgetNote &); |
void setFamilyRecordNote(WidgetNote &); |
| 44 |
WidgetNote * getFamilyRecordNote(void) const; |
WidgetNote * getFamilyRecordNote(void) const; |
| 45 |
void PopupLinkEditorMenu(LinkEditorMenu_t const &menus); |
void PopupLinkEditorMenu(LinkEditorMenu_t const &menus); |
|
void menu_link_editor_activated(std::string const); |
|
|
typedef void LinkEditionReturnHandler_t; |
|
|
typedef SigC::Signal1 < LinkEditionReturnHandler_t, std::string > LinkEditionSlotHandler_t; |
|
|
LinkEditionSlotHandler_t & LinkEdited(void); |
|
| 46 |
protected: |
protected: |
| 47 |
void ManageFamilyLinkHandler(OneFamilyLinkHandler const * const handler, Gtk::Label * label_man, Gtk::Label * label_woman, Gtk::Button * button_man, Gtk::Button * button_woman) const; |
void ManageFamilyLinkHandler(OneFamilyLinkHandler const * const handler, Gtk::Label * label_man, Gtk::Label * label_woman, Gtk::Button * button_man, Gtk::Button * button_woman) const; |
| 48 |
void ManageFamilyLinkHandler(OneFamilyLinkHandler const * const handler); |
void ManageFamilyLinkHandler(OneFamilyLinkHandler const * const handler); |
| 49 |
private: |
private: |
| 50 |
WidgetNote * _family_link_note; |
WidgetNote * _family_link_note; |
| 51 |
WidgetNote * _family_record_note; |
WidgetNote * _family_record_note; |
|
LinkEditionSlotHandler_t _link_edited; |
|
|
|
|
| 52 |
}; |
}; |
| 53 |
|
|
| 54 |
#endif |
#endif |