Add wxSecretStore
Add a new class allowing to store passwords and other sensitive information using the OS-provided facilities. Add implementations for all the main platforms, documentation and a new sample (which contains an ad hoc unit test as the real unit test for this class would probably be a bad idea as it wouldn't run in non-interactive contexts and could show OS level dialog boxes if it did).
This commit is contained in:
@@ -277,6 +277,14 @@
|
||||
# endif
|
||||
#endif /* !defined(wxUSE_REGEX) */
|
||||
|
||||
#ifndef wxUSE_SECRETSTORE
|
||||
# ifdef wxABORT_ON_CONFIG_ERROR
|
||||
# error "wxUSE_SECRETSTORE must be defined, please read comment near the top of this file."
|
||||
# else
|
||||
# define wxUSE_SECRETSTORE 1
|
||||
# endif
|
||||
#endif /* !defined(wxUSE_SECRETSTORE) */
|
||||
|
||||
#ifndef wxUSE_STDPATHS
|
||||
# ifdef wxABORT_ON_CONFIG_ERROR
|
||||
# error "wxUSE_STDPATHS must be defined, please read comment near the top of this file."
|
||||
|
Reference in New Issue
Block a user