Audacity
3.2.0
libraries
lib-module-manager
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
{
17
kModuleDisabled
= 0,
18
kModuleEnabled
= 1,
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
MODULE_MANAGER_API
int
GetModuleStatus
(
const
FilePath
&fname );
27
MODULE_MANAGER_API
void
SetModuleStatus
(
const
FilePath
&fname,
int
iStatus );
28
29
}
30
31
#endif
Identifier.h
kModuleDisabled
@ kModuleDisabled
Definition:
ModuleSettings.h:17
kModuleAsk
@ kModuleAsk
Definition:
ModuleSettings.h:19
kModuleFailed
@ kModuleFailed
Definition:
ModuleSettings.h:20
kModuleNew
@ kModuleNew
Definition:
ModuleSettings.h:21
kModuleEnabled
@ kModuleEnabled
Definition:
ModuleSettings.h:18
FilePath
wxString FilePath
Definition:
Project.h:21
ModuleSettings
Definition:
ModuleSettings.h:24
ModuleSettings::SetModuleStatus
MODULE_MANAGER_API void SetModuleStatus(const FilePath &fname, int iStatus)
Definition:
ModuleSettings.cpp:140
ModuleSettings::GetModuleStatus
MODULE_MANAGER_API int GetModuleStatus(const FilePath &fname)
Definition:
ModuleSettings.cpp:93
Generated by
1.9.3