mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-02 16:49:41 +02:00
... It mentions some wxWidgets types in its interface, but these are in the acceptable utility subset of wxBase that we still consider GUI toolkit-neutral.
33 lines
881 B
CMake
33 lines
881 B
CMake
#[[
|
|
Classes managing settings that persist between runs of the program.
|
|
|
|
Settings objects for various types (boolean, numbers, strings, enumerations)
|
|
that package a preference key path and a default value (so that literals are
|
|
not duplicated in widely separated parts) and cache values in memory.
|
|
|
|
PreferenceListener which is a callback notified of certain changes of
|
|
preferences.
|
|
|
|
PreferenceInitializer is a callback for the reinitialization of preferences.
|
|
|
|
FileConfig decorates wxFileConfig, with a (pure virtual) member function to
|
|
alert the user of failure to initialize it (as when the file is read-only).
|
|
]]#
|
|
|
|
set( SOURCES
|
|
FileConfig.cpp
|
|
FileConfig.h
|
|
Prefs.cpp
|
|
Prefs.h
|
|
)
|
|
set( LIBRARIES
|
|
lib-utility-interface
|
|
lib-basic-ui-interface
|
|
lib-components-interface
|
|
PRIVATE
|
|
wxBase
|
|
)
|
|
audacity_library( lib-preferences "${SOURCES}" "${LIBRARIES}"
|
|
"" ""
|
|
)
|