/[ghosts]/ghosts/gedcomviewer/src/MMIglade/src/MMIChildToFamilyLink.hh
ViewVC logotype

Diff of /ghosts/gedcomviewer/src/MMIglade/src/MMIChildToFamilyLink.hh

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

revision 1.4 by cpcp, Sun Feb 23 21:34:45 2003 UTC revision 1.5 by cpcp, Mon Feb 24 21:26:19 2003 UTC
# Line 31  Line 31 
31  // if you didn't make any modifications to the widget  // if you didn't make any modifications to the widget
32    
33  #ifndef _MMICHILDTOFAMILYLINK_HH  #ifndef _MMICHILDTOFAMILYLINK_HH
34  #  include "MMIChildToFamilyLink_glade.hh"  #  include "MMIFamilyLink.hh"
35  #  define _MMICHILDTOFAMILYLINK_HH  #  define _MMICHILDTOFAMILYLINK_HH
36  #include "glademm_support.hh"  #include "glademm_support.hh"
37    
# Line 40  Line 40 
40  #include <string>  #include <string>
41  #include <sigc++/object.h>  #include <sigc++/object.h>
42    
43  class MMIChildToFamilyLink : public MMIChildToFamilyLink_glade  class MMIChildToFamilyLink : public MMIFamilyLink
44  {    {  
45  public:  public:
46    MMIChildToFamilyLink(void);    MMIChildToFamilyLink(void);
   void Clear(void);  
47    class OneChildToFamilyLink *  addChildToFamilyLink(std::string const &father, std::string const &mother, SigC::Slot0<void> * slot_father = 0, SigC::Slot0<void> * slot_mother = 0 );    class OneChildToFamilyLink *  addChildToFamilyLink(std::string const &father, std::string const &mother, SigC::Slot0<void> * slot_father = 0, SigC::Slot0<void> * slot_mother = 0 );
   friend class MMIChildToFamilyLink_glade;  
   SigC::Signal0<void> &FamilyAdded(void);  
   SigC::Signal1<void, int> &FamilyDeleted(void);  
48    
49  private:  private:
50    SigC::Signal0<void> _family_added;    virtual void menu_add_activated(void);
   SigC::Signal1<void, int> _family_deleted;  
   int _cpt_family;  
   int button_pressed(GdkEventButton *);  
   void menu_add_activated(void);  
   void menu_delete_activated(void);  
   void deleteChildToFamilyLink(void);  
51  };  };
52  #endif  #endif

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