LaunchAtLoginController.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334
  1. //
  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. #import <Foundation/Foundation.h>
  25. @interface LaunchAtLoginController : NSObject {}
  26. @property(assign) BOOL launchAtLogin;
  27. - (BOOL) willLaunchAtLogin: (NSURL*) itemURL;
  28. - (void) setLaunchAtLogin: (BOOL) enabled forURL: (NSURL*) itemURL;
  29. @end