Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
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 @@
...
@@ -35,11 +35,9 @@
/* Factories */
/* Factories */
+
(
VLCTime
*
)
nullTime
;
+
(
VLCTime
*
)
nullTime
;
+
(
VLCTime
*
)
timeWithNumber
:(
NSNumber
*
)
aNumber
;
+
(
VLCTime
*
)
timeWithNumber
:(
NSNumber
*
)
aNumber
;
//+ (VLCTime *)timeWithString:(NSString *)aString;
/* Initializers */
/* Initializers */
-
(
id
)
initWithNumber
:(
NSNumber
*
)
aNumber
;
-
(
id
)
initWithNumber
:(
NSNumber
*
)
aNumber
;
//- (id)initWithString:(NSString *)aString;
/* Properties */
/* Properties */
@property
(
readonly
)
NSNumber
*
numberValue
;
@property
(
readonly
)
NSNumber
*
numberValue
;
...
...
projects/macosx/framework/Sources/VLCTime.m
View file @
f87ebe5b
...
@@ -25,6 +25,7 @@
...
@@ -25,6 +25,7 @@
#import <VLCTime.h>
#import <VLCTime.h>
@implementation
VLCTime
@implementation
VLCTime
/* Factories */
+
(
VLCTime
*
)
nullTime
+
(
VLCTime
*
)
nullTime
{
{
static
VLCTime
*
nullTime
=
nil
;
static
VLCTime
*
nullTime
=
nil
;
...
@@ -38,12 +39,7 @@
...
@@ -38,12 +39,7 @@
return
[[[
VLCTime
alloc
]
initWithNumber
:
aNumber
]
autorelease
];
return
[[[
VLCTime
alloc
]
initWithNumber
:
aNumber
]
autorelease
];
}
}
// TODO: Implement [VLCTime timeWithString]
/* Initializers */
//+ (VLCTime *)timeWithString:(NSString *)aString
//{
// return [[[VLCTime alloc] initWithString:aString] autorelease];
//}
-
(
id
)
initWithNumber
:(
NSNumber
*
)
aNumber
-
(
id
)
initWithNumber
:(
NSNumber
*
)
aNumber
{
{
if
(
self
=
[
super
init
])
if
(
self
=
[
super
init
])
...
@@ -56,23 +52,19 @@
...
@@ -56,23 +52,19 @@
return
self
;
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
-
(
void
)
dealloc
{
{
[
value
release
];
[
value
release
];
[
super
dealloc
];
[
super
dealloc
];
}
}
/* NSObject Overrides */
-
(
NSString
*
)
description
{
return
self
.
stringValue
;
}
/* Operations */
-
(
NSNumber
*
)
numberValue
-
(
NSNumber
*
)
numberValue
{
{
return
value
?
[[
value
copy
]
autorelease
]
:
nil
;
return
value
?
[[
value
copy
]
autorelease
]
:
nil
;
...
@@ -104,9 +96,4 @@
...
@@ -104,9 +96,4 @@
else
else
return
[
value
compare
:
aTime
.
numberValue
];
return
[
value
compare
:
aTime
.
numberValue
];
}
}
-
(
NSString
*
)
description
{
return
self
.
stringValue
;
}
@end
@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