mirror of https://github.com/bsnes-emu/bsnes.git
25 lines
511 B
C++
25 lines
511 B
C++
@interface CocoaRadioItem : NSMenuItem {
|
|
@public
|
|
phoenix::RadioItem* radioItem;
|
|
}
|
|
-(id) initWith:(phoenix::RadioItem&)radioItem;
|
|
-(void) activate;
|
|
@end
|
|
|
|
namespace phoenix {
|
|
|
|
struct pRadioItem : public pAction {
|
|
RadioItem& radioItem;
|
|
CocoaRadioItem* cocoaRadioItem = nullptr;
|
|
|
|
void setChecked();
|
|
void setGroup(const group<RadioItem>& group);
|
|
void setText(string text);
|
|
|
|
pRadioItem(RadioItem& radioItem) : pAction(radioItem), radioItem(radioItem) {}
|
|
void constructor();
|
|
void destructor();
|
|
};
|
|
|
|
}
|