21 #ifndef LIBGNOMEUIMM_UI_ITEMS_STOCK_H
22 #define LIBGNOMEUIMM_UI_ITEMS_STOCK_H
42 void init(
const Callback &cv, GnomeUIInfoConfigurableTypes ct);
43 void init(
const Callback &cv, GnomeUIInfoConfigurableTypes ct,
const Glib::ustring& strLabel,
const Glib::ustring& strHint);
58 #define STOCK_MENU_ITEM(X, Y) \
59 struct X : public Items::ConfigureItem \
61 X(const Callback& cb = Callback()) \
69 #define STOCK_MENU_ITEM_EXTRA(X, Y) \
70 struct X : public Items::ConfigureItem \
72 X(const Glib::ustring& strLabel, const Glib::ustring& strHint, const Callback& cb = Callback()) \
74 init(cb, Y, strLabel, strHint); \
123 #undef STOCK_MENU_ITEM
143 #define STOCK_MENU(X,Y) \
144 struct X : public Items::Menu \
146 X(const Items::Array<Info>& tree = Items::Array<Info>()) \
147 : Items::Menu(Y,tree) \
169 #endif //LIBGNOMEUIMM_UI_ITEMS_STOCK_H