blob: 8892c9fbc7ea1e2fe468dfa8283941d934b543e3 [file] [log] [blame]
Alexander Afanasyevcc5c6712013-09-30 17:43:54 -07001//
2// LaunchAtLoginController.h
3//
4// Copyright 2011 Tomáš Znamenáček
5// Copyright 2010 Ben Clark-Robinson
6//
7// Permission is hereby granted, free of charge, to any person obtaining
8// a copy of this software and associated documentation files (the ‘Software’),
9// to deal in the Software without restriction, including without limitation
10// the rights to use, copy, modify, merge, publish, distribute, sublicense,
11// and/or sell copies of the Software, and to permit persons to whom the
12// Software is furnished to do so, subject to the following conditions:
13//
14// The above copyright notice and this permission notice shall be
15// included in all copies or substantial portions of the Software.
16//
17// THE SOFTWARE IS PROVIDED ‘AS IS’, WITHOUT WARRANTY OF ANY KIND,
18// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
20// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
21// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
22// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
23// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24
25#import <Foundation/Foundation.h>
26
27@interface LaunchAtLoginController : NSObject {}
28
29@property(assign) BOOL launchAtLogin;
30
31- (BOOL) willLaunchAtLogin: (NSURL*) itemURL;
32- (void) setLaunchAtLogin: (BOOL) enabled forURL: (NSURL*) itemURL;
33
34@end