-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathDBTVChannel.h
56 lines (38 loc) · 1.33 KB
/
DBTVChannel.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
//
// DBTVChannel.h
// Vidi
//
// Created by Mitz Pettel on Sun Jan 26 2003.
// Copyright (c) 2002, 2003 Mitz Pettel. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "DBDVGrabber.h"
extern NSString * const DBTVChannelChangedNotification;
@interface DBTVChannel : NSObject {
DBTVFrequency _frequency;
NSString *_name;
float _volume;
NSImage *_logo;
DBDVInputSource _inputSource;
}
+ (id)channelWithFrequency:(DBTVFrequency)freq inputSource:(DBDVInputSource)source name:(NSString *)string volume:(float)vol logo:(NSImage *)image;
+ (id)channelWithFrequency:(DBTVFrequency)freq;
+ (id)channelWithDictionary:(NSDictionary *)dict;
// Designated initializer
- (id)initWithFrequency:(DBTVFrequency)freq inputSource:(DBDVInputSource)source name:(NSString *)string volume:(float)vol logo:(NSImage *)image;
- (id)initWithFrequency:(DBTVFrequency)freq;
- (id)initWithDictionary:(NSDictionary *)dict;
- (NSDictionary *)dictionary;
- (NSDictionary *)dictionaryWithoutLogo;
- (void)setFrequency:(DBTVFrequency)freq;
- (DBTVFrequency)frequency;
- (void)setName:(NSString *)string;
- (NSString *)name;
- (void)setVolume:(float)vol;
- (float)volume;
- (void)setLogo:(NSImage *)image;
- (NSImage *)logo;
- (void)setInputSource:(DBDVInputSource)source;
- (DBDVInputSource)inputSource;
- (void)_sendChangeNotification;
@end