//
//  QSNotificationDisplay.h
//  Quicksilver
//
//  Created by Alcor on 6/24/04.
//  Copyright 2004 Blacktree. All rights reserved.
//

#define QSNotifierStyle @"style"
#define QSNotifierIcon @"icon"
#define QSNotifierTitle @"title"
#define QSNotifierText @"text"
#define QSNotifierDetails @"details"
#define QSNotifierType @"type"
#define QSNotifierLocation @"location"
#define QSNotifierDuration @"duration"
#define QSNotifierAppearDuration @"appearDuration"
#define QSNotifierDisappearDuration @"disappearDuration"

#define kQSNotifiers @"QSNotifiers"

//#import "QSRegistry.h"

#import "QSRegistry.h"

#import <Cocoa/Cocoa.h>

BOOL QSShowAppNotifWithAttributes(NSString *type, NSString *title, NSString *message);
BOOL QSShowNotifierWithAttributes(NSDictionary *attributes);

@protocol QSNotifier
- (void)displayNotificationWithAttributes:(NSDictionary *)attributes;
@end

@interface QSRegistry (QSNotifier)
- (id <QSNotifier>) preferredNotifier;
@end


@interface QSNotifyScriptCommand : NSScriptCommand
@end
