Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
4d5313d3
Commit
4d5313d3
authored
Aug 21, 2005
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* forgot these 2 files
parent
c2ec2634
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
modules/gui/macosx/intf.h
modules/gui/macosx/intf.h
+4
-0
modules/gui/macosx/intf.m
modules/gui/macosx/intf.m
+14
-0
No files found.
modules/gui/macosx/intf.h
View file @
4d5313d3
...
...
@@ -93,11 +93,13 @@ struct intf_sys_t
id
o_wizard
;
/* VLCWizard */
id
o_extended
;
/* VLCExtended */
id
o_bookmarks
;
/* VLCBookmarks */
id
o_update
;
/* VLCUpdate */
BOOL
nib_open_loaded
;
/* reference to the open-nib */
BOOL
nib_about_loaded
;
/* reference to the about-nib */
BOOL
nib_wizard_loaded
;
/* reference to the wizard-nib */
BOOL
nib_extended_loaded
;
/* reference to the extended-nib */
BOOL
nib_bookmarks_loaded
;
/* reference to the bookmarks-nib */
BOOL
nib_update_loaded
;
/* reference to the update-nib */
IBOutlet
id
o_window
;
/* main window */
IBOutlet
id
o_playlist_view
;
/* playlist view */
...
...
@@ -146,6 +148,7 @@ struct intf_sys_t
IBOutlet
id
o_mi_about
;
IBOutlet
id
o_mi_prefs
;
IBOutlet
id
o_mi_checkForUpdate
;
IBOutlet
id
o_mi_add_intf
;
IBOutlet
id
o_mu_add_intf
;
IBOutlet
id
o_mi_services
;
...
...
@@ -304,6 +307,7 @@ struct intf_sys_t
-
(
IBAction
)
viewAbout
:(
id
)
sender
;
-
(
IBAction
)
viewPreferences
:(
id
)
sender
;
-
(
IBAction
)
checkForUpdate
:(
id
)
sender
;
-
(
IBAction
)
closeError
:(
id
)
sender
;
-
(
IBAction
)
openReadMe
:(
id
)
sender
;
-
(
IBAction
)
openDocumentation
:(
id
)
sender
;
...
...
modules/gui/macosx/intf.m
View file @
4d5313d3
...
...
@@ -41,6 +41,7 @@
#include "wizard.h"
#include "extended.h"
#include "bookmarks.h"
#include "update.h"
/*****************************************************************************
* Local prototypes.
...
...
@@ -302,6 +303,7 @@ static VLCMain *_o_sharedMainInstance = nil;
o_wizard
=
[[
VLCWizard
alloc
]
init
];
o_extended
=
[[
VLCExtended
alloc
]
init
];
o_bookmarks
=
[[
VLCBookmarks
alloc
]
init
];
o_update
=
[[
VLCUpdate
alloc
]
init
];
i_lastShownVolume
=
-
1
;
return
_o_sharedMainInstance
;
...
...
@@ -460,6 +462,7 @@ static VLCMain *_o_sharedMainInstance = nil;
/* main menu */
[
o_mi_about
setTitle
:
_NS
(
"About VLC media player..."
)];
[
o_mi_checkForUpdate
setTitle
:
_NS
(
"Check for update..."
)];
[
o_mi_prefs
setTitle
:
_NS
(
"Preferences..."
)];
[
o_mi_add_intf
setTitle
:
_NS
(
"Add Interface"
)];
[
o_mu_add_intf
setTitle
:
_NS
(
"Add Interface"
)];
...
...
@@ -1531,6 +1534,17 @@ static VLCMain *_o_sharedMainInstance = nil;
[
o_prefs
showPrefs
];
}
-
(
IBAction
)
checkForUpdate
:(
id
)
sender
{
if
(
!
nib_update_loaded
)
{
nib_update_loaded
=
[
NSBundle
loadNibNamed
:
@"Update"
owner
:
self
];
[
o_update
showUpdateWindow
];
}
else
{
[
o_update
showUpdateWindow
];
}
}
-
(
IBAction
)
closeError
:(
id
)
sender
{
vlc_value_t
val
;
...
...
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