2021-05-13 18:21:41 +00:00
|
|
|
/**********************************************************************
|
|
|
|
|
|
|
|
Audacity: A Digital Audio Editor
|
|
|
|
|
2021-02-27 20:43:55 +00:00
|
|
|
@file ModuleSettings.h
|
2021-05-13 18:21:41 +00:00
|
|
|
|
2021-02-27 20:43:55 +00:00
|
|
|
Paul Licameli split from ModulePrefs.h
|
2021-05-13 18:21:41 +00:00
|
|
|
|
|
|
|
**********************************************************************/
|
|
|
|
|
2021-02-27 20:43:55 +00:00
|
|
|
#ifndef __AUDACITY_MODULE_SETTINGS__
|
|
|
|
#define __AUDACITY_MODULE_SETTINGS__
|
2021-05-13 18:21:41 +00:00
|
|
|
|
2021-05-23 03:20:14 +00:00
|
|
|
#include "Identifier.h"
|
2021-05-13 18:21:41 +00:00
|
|
|
|
|
|
|
enum {
|
|
|
|
kModuleDisabled = 0,
|
|
|
|
kModuleEnabled = 1,
|
|
|
|
kModuleAsk = 2, // Will ask, each time, when audacity starts.
|
|
|
|
kModuleFailed = 3, // Audacity thinks this is a bad module.
|
|
|
|
kModuleNew = 4 // Audacity will ask once, and remember the answer.
|
|
|
|
};
|
|
|
|
|
2021-02-27 20:43:55 +00:00
|
|
|
namespace ModuleSettings {
|
2021-05-13 18:21:41 +00:00
|
|
|
|
2021-02-27 20:43:55 +00:00
|
|
|
int GetModuleStatus( const FilePath &fname );
|
|
|
|
void SetModuleStatus( const FilePath &fname, int iStatus );
|
2021-05-13 18:21:41 +00:00
|
|
|
|
2021-02-27 20:43:55 +00:00
|
|
|
}
|
2021-05-13 18:21:41 +00:00
|
|
|
|
|
|
|
#endif
|