Export -validateMenuItem: as a method in SUUpdater.h for public use

This commit is contained in:
Zorg committed 2016-08-26 23:01:30 -04:00
1 parent 5f2ebb8edf
commit 38af7cd8cd
1 file changed
+5
+5
View File
@@ -70,6 +70,11 @@ SU_EXPORT @interface SUUpdater : NSObject
*/
- (IBAction)checkForUpdates:(id)sender;
/*!
The menu item validation used for the -checkForUpdates: action
*/
- (BOOL)validateMenuItem:(NSMenuItem *)menuItem;
/*!
Checks for updates, but does not display any UI unless an update is found.