<commit_before>//
//  GrowlApplicationNotification.h
//  Growl
//
//  Created by <NAME> on 01.10.05.
//  Copyright 2005 matrixPointer. All rights reserved.
//

#import <Cocoa/Cocoa.h>

@class GrowlApplicationTicket, GrowlDisplayPlugin;

enum GrowlPriority {
	GrowlPriorityUnset     = -1000,
	GrowlPriorityVeryLow   = -2,
	GrowlPriorityLow       = -1,
	GrowlPriorityNormal    =  0,
	GrowlPriorityHigh      =  1,
	GrowlPriorityEmergency =  2
};

@interface GrowlApplicationNotification : NSObject {
	NSString                *name;
	GrowlApplicationTicket  *ticket;        // Our owner
	int                      sticky;
	enum GrowlPriority       priority;
	unsigned                 GANReserved: 31;
	unsigned                 enabled: 1;
}

+ (GrowlApplicationNotification *) notificationWithName:(NSString *)name;
+ (GrowlApplicationNotification *) notificationWithDictionary:(NSDictionary *)dict;
+ (GrowlApplicationNotification *) notificationWithName:(NSString *)name
											   priority:(enum GrowlPriority)priority
												enabled:(BOOL)enabled
												 sticky:(int)sticky;

- (GrowlApplicationNotification *) initWithName:(NSString *)name;
- (GrowlApplicationNotification *) initWithDictionary:(NSDictionary *)dict;
- (GrowlApplicationNotification *) initWithName:(NSString *)name
									   priority:(enum GrowlPriority)priority
										enabled:(BOOL)enabled
										 sticky:(int)sticky;

- (NSDictionary *) dictionaryRepresentation;;

#pragma mark -

- (NSString *) name;

- (enum GrowlPriority) priority;
- (void) setPriority:(enum GrowlPriority)newPriority;

- (BOOL) enabled;
- (void) setEnabled:(BOOL)flag;

- (int) sticky;
- (void) setSticky:(int)sticky;

- (GrowlApplicationTicket *) ticket;
- (void) setTicket:(GrowlApplicationTicket *)newTicket;

- (NSString *)displayPluginName;
- (GrowlDisplayPlugin *) displayPlugin;

@end<commit_msg>Restored the balance of the Universe.<commit_after>//
//  GrowlApplicationNotification.h
//  Growl
//
//  Created by <NAME> on 01.10.05.
//  Copyright 2005 matrixPointer. All rights reserved.
//

#import <Cocoa/Cocoa.h>

@class GrowlApplicationTicket, GrowlDisplayPlugin;

enum GrowlPriority {
	GrowlPriorityUnset     = -1000,
	GrowlPriorityVeryLow   = -2,
	GrowlPriorityLow       = -1,
	GrowlPriorityNormal    =  0,
	GrowlPriorityHigh      =  1,
	GrowlPriorityEmergency =  2
};

@interface GrowlApplicationNotification : NSObject {
	NSString                *name;
	GrowlApplicationTicket  *ticket;        // Our owner
	int                      sticky;
	enum GrowlPriority       priority;
	unsigned                 GANReserved: 31;
	unsigned                 enabled: 1;
}

+ (GrowlApplicationNotification *) notificationWithName:(NSString *)name;
+ (GrowlApplicationNotification *) notificationWithDictionary:(NSDictionary *)dict;
+ (GrowlApplicationNotification *) notificationWithName:(NSString *)name
											   priority:(enum GrowlPriority)priority
												enabled:(BOOL)enabled
												 sticky:(int)sticky;

- (GrowlApplicationNotification *) initWithName:(NSString *)name;
- (GrowlApplicationNotification *) initWithDictionary:(NSDictionary *)dict;
- (GrowlApplicationNotification *) initWithName:(NSString *)name
									   priority:(enum GrowlPriority)priority
										enabled:(BOOL)enabled
										 sticky:(int)sticky;

- (NSDictionary *) dictionaryRepresentation;

#pragma mark -

- (NSString *) name;

- (enum GrowlPriority) priority;
- (void) setPriority:(enum GrowlPriority)newPriority;

- (BOOL) enabled;
- (void) setEnabled:(BOOL)flag;

- (int) sticky;
- (void) setSticky:(int)sticky;

- (GrowlApplicationTicket *) ticket;
- (void) setTicket:(GrowlApplicationTicket *)newTicket;

- (NSString *)displayPluginName;
- (GrowlDisplayPlugin *) displayPlugin;

@end
{'fraction_non_alphanumeric': 0.1107856191744341, 'fraction_numerical': 0.011717709720372836, 'mean_word_length': 3.586080586080586, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5989366', 'n_tokens_mistral': 1315, 'n_tokens_neox': 1106, 'n_words': 222}