-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLabelObject.h
37 lines (29 loc) · 817 Bytes
/
LabelObject.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//
// LabelObject.h
// Notation
//
// Created by Zachary Schneirov on 12/30/05.
// Copyright 2005 Zachary Schneirov. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import "NSString_NV.h"
@class NoteObject;
@interface LabelObject : NSObject {
NSString *labelName, *lowercaseName;
NSMutableSet *notes;
unsigned int lowercaseHash;
}
force_inline NSString* titleOfLabel(LabelObject *label);
int compareLabel(const void *one, const void *two);
- (id)initWithTitle:(NSString*)name;
- (NSString*)title;
- (NSString*)associativeIdentifier;
- (void)setTitle:(NSString*)title;
- (void)addNote:(NoteObject*)note;
- (void)addNoteSet:(NSSet*)noteSet;
- (void)removeNote:(NoteObject*)note;
- (void)removeNoteSet:(NSSet*)noteSet;
- (NSSet*)noteSet;
- (BOOL)isEqual:(id)anObject;
- (unsigned)hash;
@end