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
82876db8
Commit
82876db8
authored
Jul 14, 2012
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: CAS: simplification
parent
907320e9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
32 deletions
+9
-32
extras/package/macosx/Resources/English.lproj/ConvertAndSave.xib
...package/macosx/Resources/English.lproj/ConvertAndSave.xib
+5
-20
modules/gui/macosx/ConvertAndSave.h
modules/gui/macosx/ConvertAndSave.h
+0
-1
modules/gui/macosx/ConvertAndSave.m
modules/gui/macosx/ConvertAndSave.m
+4
-11
No files found.
extras/package/macosx/Resources/English.lproj/ConvertAndSave.xib
View file @
82876db8
...
@@ -12,8 +12,8 @@
...
@@ -12,8 +12,8 @@
</object>
</object>
<object
class=
"NSMutableArray"
key=
"IBDocument.EditedObjectIDs"
>
<object
class=
"NSMutableArray"
key=
"IBDocument.EditedObjectIDs"
>
<bool
key=
"EncodedWithXMLCoder"
>
YES
</bool>
<bool
key=
"EncodedWithXMLCoder"
>
YES
</bool>
<integer
value=
"2"
/>
<integer
value=
"132"
/>
<integer
value=
"132"
/>
<integer
value=
"10"
/>
</object>
</object>
<object
class=
"NSArray"
key=
"IBDocument.PluginDependencies"
>
<object
class=
"NSArray"
key=
"IBDocument.PluginDependencies"
>
<bool
key=
"EncodedWithXMLCoder"
>
YES
</bool>
<bool
key=
"EncodedWithXMLCoder"
>
YES
</bool>
...
@@ -2095,14 +2095,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
...
@@ -2095,14 +2095,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
</object>
</object>
<int
key=
"connectionID"
>
99
</int>
<int
key=
"connectionID"
>
99
</int>
</object>
</object>
<object
class=
"IBConnectionRecord"
>
<object
class=
"IBActionConnection"
key=
"connection"
>
<string
key=
"label"
>
profileSelection:
</string>
<reference
key=
"source"
ref=
"203744709"
/>
<reference
key=
"destination"
ref=
"803077624"
/>
</object>
<int
key=
"connectionID"
>
100
</int>
</object>
<object
class=
"IBConnectionRecord"
>
<object
class=
"IBConnectionRecord"
>
<object
class=
"IBActionConnection"
key=
"connection"
>
<object
class=
"IBActionConnection"
key=
"connection"
>
<string
key=
"label"
>
windowButtonAction:
</string>
<string
key=
"label"
>
windowButtonAction:
</string>
...
@@ -4000,9 +3992,9 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
...
@@ -4000,9 +3992,9 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<string>
{{
617
, 266}, {663, 490}}
</string>
<string>
{{
305
, 266}, {663, 490}}
</string>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<string>
{{
617
, 266}, {663, 490}}
</string>
<string>
{{
305
, 266}, {663, 490}}
</string>
<boolean
value=
"NO"
/>
<boolean
value=
"NO"
/>
<string>
{196, 240}
</string>
<string>
{196, 240}
</string>
<string>
{{357, 418}, {480, 270}}
</string>
<string>
{{357, 418}, {480, 270}}
</string>
...
@@ -4023,9 +4015,9 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
...
@@ -4023,9 +4015,9 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
<object
class=
"NSAffineTransform"
>
<object
class=
"NSAffineTransform"
>
<bytes
key=
"NSTransformStruct"
>
P4AAAL+AAABDUQAAwmgAAA
</bytes>
<bytes
key=
"NSTransformStruct"
>
P4AAAL+AAABDUQAAwmgAAA
</bytes>
</object>
</object>
<string>
{{
292
, 96}, {558, 370}}
</string>
<string>
{{
329
, 96}, {558, 370}}
</string>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<string>
{{
292
, 96}, {558, 370}}
</string>
<string>
{{
329
, 96}, {558, 370}}
</string>
<boolean
value=
"NO"
/>
<boolean
value=
"NO"
/>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
...
@@ -4356,7 +4348,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
...
@@ -4356,7 +4348,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
<string>
closeCustomizationSheet:
</string>
<string>
closeCustomizationSheet:
</string>
<string>
customizeProfile:
</string>
<string>
customizeProfile:
</string>
<string>
openMedia:
</string>
<string>
openMedia:
</string>
<string>
profileSelection:
</string>
<string>
windowButtonAction:
</string>
<string>
windowButtonAction:
</string>
</object>
</object>
<object
class=
"NSMutableArray"
key=
"dict.values"
>
<object
class=
"NSMutableArray"
key=
"dict.values"
>
...
@@ -4366,7 +4357,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
...
@@ -4366,7 +4357,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
<string>
id
</string>
<string>
id
</string>
<string>
id
</string>
<string>
id
</string>
<string>
id
</string>
<string>
id
</string>
<string>
id
</string>
</object>
</object>
</object>
</object>
<object
class=
"NSMutableDictionary"
key=
"actionInfosByName"
>
<object
class=
"NSMutableDictionary"
key=
"actionInfosByName"
>
...
@@ -4377,7 +4367,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
...
@@ -4377,7 +4367,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
<string>
closeCustomizationSheet:
</string>
<string>
closeCustomizationSheet:
</string>
<string>
customizeProfile:
</string>
<string>
customizeProfile:
</string>
<string>
openMedia:
</string>
<string>
openMedia:
</string>
<string>
profileSelection:
</string>
<string>
windowButtonAction:
</string>
<string>
windowButtonAction:
</string>
</object>
</object>
<object
class=
"NSMutableArray"
key=
"dict.values"
>
<object
class=
"NSMutableArray"
key=
"dict.values"
>
...
@@ -4398,10 +4387,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
...
@@ -4398,10 +4387,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
<string
key=
"name"
>
openMedia:
</string>
<string
key=
"name"
>
openMedia:
</string>
<string
key=
"candidateClassName"
>
id
</string>
<string
key=
"candidateClassName"
>
id
</string>
</object>
</object>
<object
class=
"IBActionInfo"
>
<string
key=
"name"
>
profileSelection:
</string>
<string
key=
"candidateClassName"
>
id
</string>
</object>
<object
class=
"IBActionInfo"
>
<object
class=
"IBActionInfo"
>
<string
key=
"name"
>
windowButtonAction:
</string>
<string
key=
"name"
>
windowButtonAction:
</string>
<string
key=
"candidateClassName"
>
id
</string>
<string
key=
"candidateClassName"
>
id
</string>
...
...
modules/gui/macosx/ConvertAndSave.h
View file @
82876db8
...
@@ -104,7 +104,6 @@
...
@@ -104,7 +104,6 @@
-
(
IBAction
)
windowButtonAction
:(
id
)
sender
;
-
(
IBAction
)
windowButtonAction
:(
id
)
sender
;
-
(
IBAction
)
openMedia
:(
id
)
sender
;
-
(
IBAction
)
openMedia
:(
id
)
sender
;
-
(
IBAction
)
profileSelection
:(
id
)
sender
;
-
(
IBAction
)
customizeProfile
:(
id
)
sender
;
-
(
IBAction
)
customizeProfile
:(
id
)
sender
;
-
(
IBAction
)
closeCustomizationSheet
:(
id
)
sender
;
-
(
IBAction
)
closeCustomizationSheet
:(
id
)
sender
;
-
(
IBAction
)
chooseDestination
:(
id
)
sender
;
-
(
IBAction
)
chooseDestination
:(
id
)
sender
;
...
...
modules/gui/macosx/ConvertAndSave.m
View file @
82876db8
...
@@ -243,17 +243,6 @@ static VLCConvertAndSave *_o_sharedInstance = nil;
...
@@ -243,17 +243,6 @@ static VLCConvertAndSave *_o_sharedInstance = nil;
{
{
}
}
-
(
IBAction
)
profileSelection
:(
id
)
sender
{
NSInteger
index
=
[
sender
indexOfSelectedItem
];
if
(
index
!=
([
sender
numberOfItems
]
-
1
))
{
if
(
_currentProfile
)
[
_currentProfile
release
];
_currentProfile
=
[[
NSMutableArray
alloc
]
initWithArray
:
[[
_profileValueList
objectAtIndex
:
index
]
componentsSeparatedByString
:
@";"
]];
}
}
-
(
IBAction
)
customizeProfile
:(
id
)
sender
-
(
IBAction
)
customizeProfile
:(
id
)
sender
{
{
[
self
resetCustomizationSheetBasedOnProfile
:[
_profileValueList
objectAtIndex
:[
_profile_pop
indexOfSelectedItem
]]];
[
self
resetCustomizationSheetBasedOnProfile
:[
_profileValueList
objectAtIndex
:[
_profile_pop
indexOfSelectedItem
]]];
...
@@ -416,6 +405,10 @@ static VLCConvertAndSave *_o_sharedInstance = nil;
...
@@ -416,6 +405,10 @@ static VLCConvertAndSave *_o_sharedInstance = nil;
}
}
}
}
}
}
if
(
_currentProfile
)
[
_currentProfile
release
];
_currentProfile
=
[[
NSMutableArray
alloc
]
initWithArray
:
[
profileString
componentsSeparatedByString
:
@";"
]];
}
}
-
(
void
)
selectCellByEncapsulationFormat
:(
NSString
*
)
format
-
(
void
)
selectCellByEncapsulationFormat
:(
NSString
*
)
format
...
...
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