File: programming/cocoa/UKLoginItemRegistry.zip/UKLoginItemRegistry/UKLoginItemRegistry.h


//
//  UKLoginItemRegistry.h
//  TalkingMoose (XC2)
//
//  Created by Uli Kusterer on 14.03.06.
//  Copyright 2006 M. Uli Kusterer. All rights reserved.
//
 
// -----------------------------------------------------------------------------
//	Headers:
// -----------------------------------------------------------------------------
 
#import <Foundation/Foundation.h>
#import "LoginItemsAE.h"
 
/*
	This class is a wrapper around Apple's LoginItemsAE sample code.
	
	allLoginItems returns an array of dictionaries containing the URL of the
	login item under key UKLoginItemURL and the launch hidden status under
	UKLoginItemHidden.
	
	All methods that return a BOOL generally return YES on success and NO on
	failure.
*/
 
// -----------------------------------------------------------------------------
//	Constants:
// -----------------------------------------------------------------------------
 
#define UKLoginItemURL		((NSString*)kLIAEURL)
#define UKLoginItemHidden	((NSString*)kLIAEHidden)
 
 
// -----------------------------------------------------------------------------
//	Class Declaration:
// -----------------------------------------------------------------------------
// Use this to detect whether you've already been set, if needed.
// Use this to detect whether you've already been set, if needed.
 

This code uses the PclZip Zip File reading code, which is subject to the GNU LGPL. It also uses the GeSHi syntax highlighter, subject to the GPL. Ask if you want this for your own web site, it's free.