Changeset f87ebe5bfc9ad2842bc428a04d458f95183c300c
- Timestamp:
- 04/01/08 00:57:19
(3 months ago)
- Author:
- Faustino Osuna <enrique.osuna@gmail.com>
- git-committer:
- Faustino Osuna <enrique.osuna@gmail.com> 1207004239 +0100
- git-parent:
[0b34e2c004dc284dc371dee33afd18bb970c00f7]
- git-author:
- Faustino Osuna <enrique.osuna@gmail.com> 1207004239 +0100
- Message:
VLCKit.framework: Remove dead code from VLCTime object.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r43a3035 |
rf87ebe5 |
|
| 36 | 36 | + (VLCTime *)nullTime; |
|---|
| 37 | 37 | + (VLCTime *)timeWithNumber:(NSNumber *)aNumber; |
|---|
| 38 | | //+ (VLCTime *)timeWithString:(NSString *)aString; |
|---|
| 39 | 38 | |
|---|
| 40 | 39 | /* Initializers */ |
|---|
| 41 | 40 | - (id)initWithNumber:(NSNumber *)aNumber; |
|---|
| 42 | | //- (id)initWithString:(NSString *)aString; |
|---|
| 43 | 41 | |
|---|
| 44 | 42 | /* Properties */ |
|---|
| rf88c57c |
rf87ebe5 |
|
| 26 | 26 | |
|---|
| 27 | 27 | @implementation VLCTime |
|---|
| | 28 | /* Factories */ |
|---|
| 28 | 29 | + (VLCTime *)nullTime |
|---|
| 29 | 30 | { |
|---|
| … | … | |
| 39 | 40 | } |
|---|
| 40 | 41 | |
|---|
| 41 | | // TODO: Implement [VLCTime timeWithString] |
|---|
| 42 | | //+ (VLCTime *)timeWithString:(NSString *)aString |
|---|
| 43 | | //{ |
|---|
| 44 | | // return [[[VLCTime alloc] initWithString:aString] autorelease]; |
|---|
| 45 | | //} |
|---|
| 46 | | |
|---|
| | 42 | /* Initializers */ |
|---|
| 47 | 43 | - (id)initWithNumber:(NSNumber *)aNumber |
|---|
| 48 | 44 | { |
|---|
| … | … | |
| 57 | 53 | } |
|---|
| 58 | 54 | |
|---|
| 59 | | // TODO: Implement [VLCTime initWithString] |
|---|
| 60 | | //- (id)initWithString:(NSString *)aString |
|---|
| 61 | | //{ |
|---|
| 62 | | // // Sounds like a good idea but I really don't think there is any value added |
|---|
| 63 | | // if (self = [super init]) |
|---|
| 64 | | // { |
|---|
| 65 | | // // convert value |
|---|
| 66 | | // } |
|---|
| 67 | | // return self; |
|---|
| 68 | | //} |
|---|
| 69 | | |
|---|
| 70 | 55 | - (void)dealloc |
|---|
| 71 | 56 | { |
|---|
| … | … | |
| 74 | 59 | } |
|---|
| 75 | 60 | |
|---|
| | 61 | /* NSObject Overrides */ |
|---|
| | 62 | - (NSString *)description |
|---|
| | 63 | { |
|---|
| | 64 | return self.stringValue; |
|---|
| | 65 | } |
|---|
| | 66 | |
|---|
| | 67 | /* Operations */ |
|---|
| 76 | 68 | - (NSNumber *)numberValue |
|---|
| 77 | 69 | { |
|---|
| … | … | |
| 105 | 97 | return [value compare:aTime.numberValue]; |
|---|
| 106 | 98 | } |
|---|
| 107 | | |
|---|
| 108 | | - (NSString *)description |
|---|
| 109 | | { |
|---|
| 110 | | return self.stringValue; |
|---|
| 111 | | } |
|---|
| 112 | 99 | @end |
|---|