//
//  AfficheurGrowl.h
//  Afficheur
//
//  Created by kichi on 08/10/06.
//  Copyright 2008,2009,2010 Katsuhiko Ichinose. All rights reserved.
//

#import <Cocoa/Cocoa.h>


@interface AfficheurGrowl : NSObject {
	IBOutlet id				_growl;

	id						_delegate;
	NSThread*				_mainThread;

	NSMutableArray*			_queueGrowl;
	NSLock*					_lockQueueGrowl;
	BOOL					_lockedGrowl;
	NSLock*					_lockGrowl;

	NSDate*					_sleepDate;
}

- (void)startWithDelegate:(id)delegate;

- (void)notifyWithTitle:(NSString *)title
			description:(NSString *)description
	   notificationName:(NSString *)notificationName
			   iconData:(NSData *)iconData
		   clickContext:(id)clickContext;

APPKIT_EXTERN NSString *GrowlAfficheurSuccessNotify;
APPKIT_EXTERN NSString *GrowlAfficheurFailureNotify;
APPKIT_EXTERN NSString *GrowlAfficheurKeywordsNotify;
APPKIT_EXTERN NSString *GrowlAfficheurTwitterNotify;
APPKIT_EXTERN NSString *GrowlAfficheurTwitterReplyNotify;
APPKIT_EXTERN NSString *GrowlAfficheurTwitterDirectNotify;
APPKIT_EXTERN NSString *GrowlAfficheurTwitterErrorNotify;
APPKIT_EXTERN NSString *GrowlAfficheurJaikuNotify;
APPKIT_EXTERN NSString *GrowlAfficheurJaikuChannelNotify;
APPKIT_EXTERN NSString *GrowlAfficheurJaikuReplyNotify;
APPKIT_EXTERN NSString *GrowlAfficheurJaikuCommentNotify;
APPKIT_EXTERN NSString *GrowlAfficheurJaikuErrorNotify;
APPKIT_EXTERN NSString*	GrowlAfficheurWassrNotify;
APPKIT_EXTERN NSString*	GrowlAfficheurWassrChannelNotify;
APPKIT_EXTERN NSString*	GrowlAfficheurWassrReplyNotify;
APPKIT_EXTERN NSString*	GrowlAfficheurWassrErrorNotify;
//APPKIT_EXTERN NSString*	GrowlAfficheurNowaNotify;
//APPKIT_EXTERN NSString*	GrowlAfficheurNowaReplyNotify;
//APPKIT_EXTERN NSString*	GrowlAfficheurNowaErrorNotify;
APPKIT_EXTERN NSString*	GrowlAfficheurIdenticaNotify;
APPKIT_EXTERN NSString*	GrowlAfficheurIdenticaGroupNotify;
APPKIT_EXTERN NSString*	GrowlAfficheurIdenticaReplyNotify;
APPKIT_EXTERN NSString*	GrowlAfficheurIdenticaDirectNotify;
APPKIT_EXTERN NSString*	GrowlAfficheurIdenticaErrorNotify;
//APPKIT_EXTERN NSString*	GrowlAfficheurJiskoNotify;
//APPKIT_EXTERN NSString*	GrowlAfficheurJiskoReplyNotify;
//APPKIT_EXTERN NSString*	GrowlAfficheurJiskoPrivateNotify;
//APPKIT_EXTERN NSString*	GrowlAfficheurJiskoErrorNotify;
//APPKIT_EXTERN NSString*	GrowlAfficheurChuitterNotify;
//APPKIT_EXTERN NSString*	GrowlAfficheurChuitterGroupNotify;
//APPKIT_EXTERN NSString*	GrowlAfficheurChuitterReplyNotify;
//APPKIT_EXTERN NSString*	GrowlAfficheurChuitterDirectNotify;
//APPKIT_EXTERN NSString*	GrowlAfficheurChuitterErrorNotify;
APPKIT_EXTERN NSString*	GrowlAfficheurTumblrNotify;
APPKIT_EXTERN NSString*	GrowlAfficheurTumblrReplyNotify;
APPKIT_EXTERN NSString*	GrowlAfficheurTumblrDirectNotify;
APPKIT_EXTERN NSString*	GrowlAfficheurTumblrErrorNotify;
APPKIT_EXTERN NSString *GrowlAfficheurFriendFeedNotify;
APPKIT_EXTERN NSString *GrowlAfficheurFriendFeedGroupNotify;
APPKIT_EXTERN NSString *GrowlAfficheurFriendFeedReplyNotify;
APPKIT_EXTERN NSString *GrowlAfficheurFriendFeedCommentNotify;
APPKIT_EXTERN NSString *GrowlAfficheurFriendFeedErrorNotify;
APPKIT_EXTERN NSString *GrowlAfficheurFaceBookNotify;
APPKIT_EXTERN NSString *GrowlAfficheurFaceBookGroupNotify;
APPKIT_EXTERN NSString *GrowlAfficheurFaceBookReplyNotify;
APPKIT_EXTERN NSString *GrowlAfficheurFaceBookCommentNotify;
APPKIT_EXTERN NSString *GrowlAfficheurFaceBookErrorNotify;

@end
