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
ac8236da
Commit
ac8236da
authored
Aug 26, 2009
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx/framework: Implement <NSCopying> for VLCTime.
parent
6aa4137f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
projects/macosx/framework/Headers/Public/VLCTime.h
projects/macosx/framework/Headers/Public/VLCTime.h
+1
-1
projects/macosx/framework/Sources/VLCTime.m
projects/macosx/framework/Sources/VLCTime.m
+5
-0
No files found.
projects/macosx/framework/Headers/Public/VLCTime.h
View file @
ac8236da
...
...
@@ -27,7 +27,7 @@
/**
* Provides an object to define VLCMedia's time.
*/
@interface
VLCTime
:
NSObject
@interface
VLCTime
:
NSObject
<
NSCopying
>
{
NSNumber
*
value
;
//< Holds, in seconds, the VLCTime value
}
...
...
projects/macosx/framework/Sources/VLCTime.m
View file @
ac8236da
...
...
@@ -58,6 +58,11 @@
[
super
dealloc
];
}
-
(
id
)
copyWithZone
:(
NSZone
*
)
zone
{
return
[[
VLCTime
alloc
]
initWithNumber
:
value
];
}
/* NSObject Overrides */
-
(
NSString
*
)
description
{
...
...
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