da5dd19b0f602e395450bda4e371030b6dd1802e
[enjoyable.git] / NSRunningApplication+LoginItem.h
1 //
2 // NSRunningApplication+LoginItem.h
3 // Enjoyable
4 //
5 // Created by Joe Wreschnig on 3/13/13.
6 //
7 //
8
9 #import <Cocoa/Cocoa.h>
10
11 @interface NSRunningApplication (LoginItem)
12 // Don't be a jerk. Ask the user before doing this.
13
14 - (BOOL)isLoginItem;
15 - (void)addToLoginItems;
16 - (void)removeFromLoginItems;
17 - (BOOL)wasLaunchedAsLoginItemOrResume;
18
19 @end