#include <ApparmorNotifications.hpp>
Public Types | |
| enum | EConfigType { E_ENABLED, E_DISABLED } |
Public Member Functions | |
| ApparmorNotifications () | |
| ~ApparmorNotifications () | |
| blocxx::String | getNotificationsConfigFile () |
| void | setNotificationsConfigFile (const blocxx::String &value) |
| blocxx::String | getNotificationsDisabledConfigFile () |
| void | setNotificationsDisabledConfigFile (const blocxx::String &value) |
| bool | canReadConfig () |
| bool | canWriteConfig () |
| bool | canReadDisabledConfig () |
| blocxx::Int32 | deleteConfig () |
| blocxx::Int32 | disableConfig () |
| blocxx::Int32 | readConfig (NotificationsMap &retMap, EConfigType readConfigType) |
| blocxx::Int32 | writeConfig (NotificationsMap ¬ificationValues) |
Private Attributes | |
| blocxx::COWIntrusiveReference< Data > | m_data |
Classes | |
| class | Data |
|
|
|
|
|
Construct an ApparmorNotifications object |
|
|
ApparmorNotifications destructor |
|
|
Checks whether it is possible to read notify.cfg
|
|
|
Checks whether it is possible to read notify.cfg.disabled
|
|
|
Checks whether it is possible to write to notify.cfg
|
|
|
Deletes notify.cfg
|
|
|
Disables notifications by moving notify.cfg to notify.cfg.disabled
|
|
|
Gets the path to the config file
|
|
|
Gets the path to the disabled notify.cfg file.
|
|
||||||||||||
|
Places values from notify.cfg into retMap. If readConfigType is E_DISABLED, it reads from notify.cfg.disabled, instead.
|
|
|
Sets the path to the config file
|
|
|
Sets the path to the disabled notify.cfg file.
|
|
|
Writes the values from notificationValues to notify.cfg.
|
|
|
|
1.4.6