Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
f87ebe5b
Commit
f87ebe5b
authored
Mar 31, 2008
by
Faustino Osuna
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
VLCKit.framework: Remove dead code from VLCTime object.
parent
0b34e2c0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
24 deletions
+9
-24
projects/macosx/framework/Headers/Public/VLCTime.h
projects/macosx/framework/Headers/Public/VLCTime.h
+0
-2
projects/macosx/framework/Sources/VLCTime.m
projects/macosx/framework/Sources/VLCTime.m
+9
-22
No files found.
projects/macosx/framework/Headers/Public/VLCTime.h
View file @
f87ebe5b
...
...
@@ -35,11 +35,9 @@
/* Factories */
+
(
VLCTime
*
)
nullTime
;
+
(
VLCTime
*
)
timeWithNumber
:(
NSNumber
*
)
aNumber
;
//+ (VLCTime *)timeWithString:(NSString *)aString;
/* Initializers */
-
(
id
)
initWithNumber
:(
NSNumber
*
)
aNumber
;
//- (id)initWithString:(NSString *)aString;
/* Properties */
@property
(
readonly
)
NSNumber
*
numberValue
;
...
...
projects/macosx/framework/Sources/VLCTime.m
View file @
f87ebe5b
...
...
@@ -25,6 +25,7 @@
#import <VLCTime.h>
@implementation
VLCTime
/* Factories */
+
(
VLCTime
*
)
nullTime
{
static
VLCTime
*
nullTime
=
nil
;
...
...
@@ -38,12 +39,7 @@
return
[[[
VLCTime
alloc
]
initWithNumber
:
aNumber
]
autorelease
];
}
// TODO: Implement [VLCTime timeWithString]
//+ (VLCTime *)timeWithString:(NSString *)aString
//{
// return [[[VLCTime alloc] initWithString:aString] autorelease];
//}
/* Initializers */
-
(
id
)
initWithNumber
:(
NSNumber
*
)
aNumber
{
if
(
self
=
[
super
init
])
...
...
@@ -56,23 +52,19 @@
return
self
;
}
// TODO: Implement [VLCTime initWithString]
//- (id)initWithString:(NSString *)aString
//{
// // Sounds like a good idea but I really don't think there is any value added
// if (self = [super init])
// {
// // convert value
// }
// return self;
//}
-
(
void
)
dealloc
{
[
value
release
];
[
super
dealloc
];
}
/* NSObject Overrides */
-
(
NSString
*
)
description
{
return
self
.
stringValue
;
}
/* Operations */
-
(
NSNumber
*
)
numberValue
{
return
value
?
[[
value
copy
]
autorelease
]
:
nil
;
...
...
@@ -104,9 +96,4 @@
else
return
[
value
compare
:
aTime
.
numberValue
];
}
-
(
NSString
*
)
description
{
return
self
.
stringValue
;
}
@end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment