mirror of
https://github.com/textmate/textmate.git
synced 2026-04-06 03:01:29 -04:00
This means we don’t need to know if there is a selection when creating the menu items and long-term it’ll be easier to introduce more complex updating, e.g. make the title a format string to allow referencing TM_DISPLAYNAME or disable the menu item if its requirements cannot be met.
10 lines
287 B
Objective-C
10 lines
287 B
Objective-C
#ifndef BUNDLES_MENU_H_7ZK5UHKQ
|
|
#define BUNDLES_MENU_H_7ZK5UHKQ
|
|
|
|
#import "BundleMenu.h"
|
|
#import <oak/misc.h>
|
|
|
|
void OakAddBundlesToMenu (std::vector<bundles::item_ptr> const& items, bool setKeys, NSMenu* aMenu, SEL menuAction);
|
|
|
|
#endif /* end of include guard: BUNDLES_MENU_H_7ZK5UHKQ */
|