---
title: enable
framework: kernel
role: pseudoSymbol
path: kernel/ionotifier/1810483-enable
---

# enable

Sets the enable state of the notification request.

## Declaration

```occ
virtual void enable(
 boolwas ) = 0; 
```

## Parameters

- `was`: The enable state of the notifier to restore.

## Overview

Overview Restores the enable state of the notification request, given the previous state passed in.

## See Also

### Miscellaneous

- [disable](kernel/ionotifier/1810461-disable.md)
- [remove](kernel/ionotifier/1810524-remove.md)
