Files
textmate/Frameworks/BundleMenu/src/Private.h
Allan Odgaard 3a75199e9d Use menu validation to update bundle menu item titles
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.
2013-03-16 17:49:48 +01:00

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 */