-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMLoader.h
45 lines (40 loc) · 1.06 KB
/
MLoader.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
//
// MLoader.h
// MextLoader
//
// Created by Thomas Cool on 10/22/10.
// Copyright 2010 tomcool.org. All rights reserved.
//
#import <SMFramework/SMFramework.h>
#define PreferenceLocation @"/Library/MainMenuExtensions"
#import <Foundation/Foundation.h>
@protocol SettingPreferences
+(NSString *)displayName;
-(NSString *)displayName;
+(BRMenuController *)settingsController;
@optional
-(NSString *)summary;
-(BRImage *)art;
@end
@interface ScreensaverCustomSettings : NSObject<SettingPreferences> {
}
+(NSString *)displayName;
-(NSString *)displayName;
+(BRMenuController *)settingsController;
@end
@interface ScreensaverCustomSettingsController : SMFMediaMenuController<SMFFolderBrowserDelegate>
{
NSArray * _screensavers;
NSArray * _bookmarks;
}
-(BOOL)hasActionForFile:(NSString *)path;
-(void)executeActionForFile:(NSString *)path;
-(void)executePlayPauseActionForFile:(NSString *)path;
@end
@interface ScreensaverCustomFolderDelegateController : SMFMediaMenuController
{
NSArray *_bookmarks;
NSString *_folder;
}
-(id)initWithPath:(NSString *)path;
@end