Audacity  3.0.3
ModuleSettings.h
Go to the documentation of this file.
1 /**********************************************************************
2 
3  Audacity: A Digital Audio Editor
4 
5  @file ModuleSettings.h
6 
7  Paul Licameli split from ModulePrefs.h
8 
9 **********************************************************************/
10 
11 #ifndef __AUDACITY_MODULE_SETTINGS__
12 #define __AUDACITY_MODULE_SETTINGS__
13 
14 #include "Identifier.h"
15 
16 enum {
19  kModuleAsk = 2, // Will ask, each time, when audacity starts.
20  kModuleFailed = 3, // Audacity thinks this is a bad module.
21  kModuleNew = 4 // Audacity will ask once, and remember the answer.
22 };
23 
24 namespace ModuleSettings {
25 
26 int GetModuleStatus( const FilePath &fname );
27 void SetModuleStatus( const FilePath &fname, int iStatus );
28 
29 }
30 
31 #endif
ModuleSettings::GetModuleStatus
int GetModuleStatus(const FilePath &fname)
Definition: ModuleSettings.cpp:28
kModuleEnabled
@ kModuleEnabled
Definition: ModuleSettings.h:18
kModuleFailed
@ kModuleFailed
Definition: ModuleSettings.h:20
FilePath
wxString FilePath
Definition: Project.h:20
Identifier.h
kModuleNew
@ kModuleNew
Definition: ModuleSettings.h:21
ModuleSettings::SetModuleStatus
void SetModuleStatus(const FilePath &fname, int iStatus)
Definition: ModuleSettings.cpp:75
kModuleDisabled
@ kModuleDisabled
Definition: ModuleSettings.h:17
ModuleSettings
Definition: ModuleSettings.h:24
kModuleAsk
@ kModuleAsk
Definition: ModuleSettings.h:19