mirror of https://github.com/bsnes-emu/bsnes.git
24 lines
397 B
C++
24 lines
397 B
C++
@interface CocoaItem : NSMenuItem {
|
|
@public
|
|
phoenix::Item *item;
|
|
}
|
|
-(id) initWith :(phoenix::Item&)item;
|
|
-(void) activate;
|
|
@end
|
|
|
|
namespace phoenix {
|
|
|
|
struct pItem : public pAction {
|
|
Item &item;
|
|
CocoaItem *cocoaItem;
|
|
|
|
void setImage(const image &image);
|
|
void setText(const string &text);
|
|
|
|
pItem(Item &item) : pAction(item), item(item) {}
|
|
void constructor();
|
|
void destructor();
|
|
};
|
|
|
|
}
|