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
7cba3abb
Commit
7cba3abb
authored
Mar 07, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove intf_UserLoginPassword
parent
03cb9032
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
43 deletions
+0
-43
include/vlc_interface.h
include/vlc_interface.h
+0
-2
src/interface/interaction.c
src/interface/interaction.c
+0
-40
src/libvlccore.sym
src/libvlccore.sym
+0
-1
No files found.
include/vlc_interface.h
View file @
7cba3abb
...
...
@@ -279,8 +279,6 @@ enum
* Exported symbols
***************************************************************************/
#define intf_UserLoginPassword( a, b, c, d, e... ) __intf_UserLoginPassword( VLC_OBJECT(a),b,c,d,e)
VLC_EXPORT
(
int
,
__intf_UserLoginPassword
,(
vlc_object_t
*
,
const
char
*
,
const
char
*
,
char
**
,
char
**
)
);
#define intf_UserYesNo( a, b, c, d, e, f ) __intf_UserYesNo( VLC_OBJECT(a),b,c, d, e, f )
VLC_EXPORT
(
int
,
__intf_UserYesNo
,(
vlc_object_t
*
,
const
char
*
,
const
char
*
,
const
char
*
,
const
char
*
,
const
char
*
)
);
#define intf_UserStringInput( a, b, c, d ) __intf_UserStringInput( VLC_OBJECT(a),b,c,d )
...
...
src/interface/interaction.c
View file @
7cba3abb
...
...
@@ -212,46 +212,6 @@ bool intf_ProgressIsCancelled( interaction_dialog_t *p_dialog )
return
b_cancel
;
}
/**
* Helper function to make a login/password dialogue
*
* \param p_this Parent vlc_object
* \param psz_title Title for the dialog
* \param psz_description A description
* \param ppsz_login Returned login
* \param ppsz_password Returned password
* \return Clicked button code
*/
int
__intf_UserLoginPassword
(
vlc_object_t
*
p_this
,
const
char
*
psz_title
,
const
char
*
psz_description
,
char
**
ppsz_login
,
char
**
ppsz_password
)
{
int
i_ret
;
DIALOG_INIT
(
TWOWAY
,
VLC_EGENERIC
);
p_new
->
i_type
=
INTERACT_DIALOG_TWOWAY
;
p_new
->
psz_title
=
strdup
(
psz_title
);
p_new
->
psz_description
=
strdup
(
psz_description
);
p_new
->
psz_default_button
=
strdup
(
_
(
"OK"
)
);
p_new
->
psz_alternate_button
=
strdup
(
_
(
"Cancel"
)
);
p_new
->
i_flags
=
DIALOG_LOGIN_PW_OK_CANCEL
;
i_ret
=
DialogSend
(
p_new
);
if
(
i_ret
==
VLC_EGENERIC
)
DialogDestroy
(
p_new
);
else
if
(
i_ret
!=
DIALOG_CANCELLED
)
{
*
ppsz_login
=
p_new
->
psz_returned
[
0
]
?
strdup
(
p_new
->
psz_returned
[
0
]
)
:
NULL
;
*
ppsz_password
=
p_new
->
psz_returned
[
1
]
?
strdup
(
p_new
->
psz_returned
[
1
]
)
:
NULL
;
}
return
i_ret
;
}
/**
* Helper function to make a dialogue asking the user for !password string
*
...
...
src/libvlccore.sym
View file @
7cba3abb
...
...
@@ -200,7 +200,6 @@ intf_ProgressUpdate
intf_RunThread
intf_StopThread
intf_UserHide
__intf_UserLoginPassword
__intf_UserStringInput
__intf_UserYesNo
IsUTF8
...
...
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