Removing ITOSA* and ITAppleEvent* classes from ITFoundation, and updating
[ITFoundation.git] / ITLoginItem.h
index 2bd02a8..8ff569f 100755 (executable)
@@ -2,10 +2,15 @@
  *  ITLoginItem.h
  *  ITFoundation
  *
- *  Created by Kent Sutherland on Sun May 16 2004.
+ *  Created by Kent Sutherland on Mon May 17 2004.
  *  Copyright (c) 2004 __MyCompanyName__. All rights reserved.
  *
  */
 
-#include <Carbon/Carbon.h>
-#include <Foundation/Foundation.h>
\ No newline at end of file
+#import <Foundation/Foundation.h>
+#import <Carbon/Carbon.h>
+#import <CoreServices/CoreServices.h>
+
+//These functions check for a match with just the lastPathComponent, so it will handle people moving the app
+extern void ITSetApplicationLaunchOnLogin(NSString *path, BOOL flag);
+extern BOOL ITDoesApplicationLaunchOnLogin(NSString *path);
\ No newline at end of file