| 23 |
#ifndef _MMIMENULINKEDITOR_HH_ |
#ifndef _MMIMENULINKEDITOR_HH_ |
| 24 |
#define _MMIMENULINKEDITOR_HH_ |
#define _MMIMENULINKEDITOR_HH_ |
| 25 |
|
|
| 26 |
|
#include <utility> |
| 27 |
#include <string> |
#include <string> |
| 28 |
#include <vector> |
#include <vector> |
| 29 |
#include <gtk--/menu.h> |
#include <gtk--/menu.h> |
| 30 |
|
|
| 31 |
typedef std::vector < std::string > MenuItems_t; |
typedef std::pair < std::string, std::string > MenuItem_t; |
| 32 |
|
typedef std::vector < MenuItem_t > MenuItems_t; |
| 33 |
typedef std::vector < MenuItems_t > LinkEditorMenu_t; |
typedef std::vector < MenuItems_t > LinkEditorMenu_t; |
| 34 |
|
class MMIMenuLinkEditor; |
| 35 |
|
|
| 36 |
|
#include "OneFamilyLink.hh" |
| 37 |
|
|
| 38 |
class MMIMenuLinkEditor : public Gtk::Menu |
class MMIMenuLinkEditor : public Gtk::Menu |
| 39 |
{ |
{ |
| 40 |
public: |
public: |
| 41 |
MMIMenuLinkEditor(LinkEditorMenu_t const &menus); |
MMIMenuLinkEditor(LinkEditorMenu_t const &menus, OneFamilyLink * const mmi); |
| 42 |
private: |
private: |
| 43 |
}; |
}; |
| 44 |
|
|