| 25 |
|
|
| 26 |
#include <sigc++/slot.h> |
#include <sigc++/slot.h> |
| 27 |
#include <gdk/gdk.h> |
#include <gdk/gdk.h> |
| 28 |
|
#include <string> |
| 29 |
|
|
| 30 |
class OneFamilyLinkHandler |
class OneFamilyLinkHandler |
| 31 |
{ |
{ |
| 32 |
public: |
public: |
| 33 |
typedef int ReturnHandler_t; |
typedef int NavigationReturnHandler_t; |
| 34 |
typedef SigC::Slot1 < ReturnHandler_t, GdkEventButton * > SlotHandler_t; |
typedef SigC::Slot1 < NavigationReturnHandler_t, GdkEventButton * > NavigationSlotHandler_t; |
| 35 |
|
typedef int PopdownLinkEditionReturnHandler_t; |
| 36 |
|
typedef SigC::Slot1 < PopdownLinkEditionReturnHandler_t, GdkEventButton * > PopdownLinkEditionSlotHandler_t; |
| 37 |
|
OneFamilyLinkHandler(std::string const &man, |
| 38 |
|
std::string const &woman, |
| 39 |
|
NavigationSlotHandler_t * navigation_slot_man, |
| 40 |
|
NavigationSlotHandler_t * navigation_slot_woman, |
| 41 |
|
PopdownLinkEditionSlotHandler_t * popdownlinkedition_slot_man, |
| 42 |
|
PopdownLinkEditionSlotHandler_t * popdownlinkedition_slot_woman); |
| 43 |
|
std::string const &getMan(void) const; |
| 44 |
|
std::string const &getWoman(void) const; |
| 45 |
|
NavigationSlotHandler_t * getNavigationSlotMan(void) const; |
| 46 |
|
NavigationSlotHandler_t * getNavigationSlotWoman(void) const; |
| 47 |
|
PopdownLinkEditionSlotHandler_t * getPopdownLinkEditionSlotMan(void) const; |
| 48 |
|
PopdownLinkEditionSlotHandler_t * getPopdownLinkEditionSlotWoman(void) const; |
| 49 |
|
private: |
| 50 |
|
std::string _man; |
| 51 |
|
std::string _woman; |
| 52 |
|
OneFamilyLinkHandler::NavigationSlotHandler_t * _navigation_slot_man; |
| 53 |
|
OneFamilyLinkHandler::NavigationSlotHandler_t * _navigation_slot_woman; |
| 54 |
|
OneFamilyLinkHandler::PopdownLinkEditionSlotHandler_t * _popdownlinkedition_slot_man; |
| 55 |
|
OneFamilyLinkHandler::PopdownLinkEditionSlotHandler_t * _popdownlinkedition_slot_woman; |
| 56 |
}; |
}; |
| 57 |
#endif |
#endif |