vfs: check userland buffers before reading them.
[haiku.git] / src / preferences / notifications / SettingsPane.cpp
blob457200ebbfc3c6579184cf6153949495c7db4579
1 /*
2 * Copyright 2010-2017, Haiku, Inc. All Rights Reserved.
3 * Copyright 2009, Pier Luigi Fiorini.
4 * Distributed under the terms of the MIT License.
6 * Authors:
7 * Pier Luigi Fiorini, pierluigi.fiorini@gmail.com
8 * Brian Hill, supernova@tycho.email
9 */
11 #include <Message.h>
13 #include "SettingsPane.h"
14 #include "SettingsHost.h"
17 SettingsPane::SettingsPane(const char* name, SettingsHost* host)
19 BView(name, B_WILL_DRAW),
20 fHost(host)
25 void
26 SettingsPane::SettingsChanged(bool showExample)
28 fHost->SettingChanged(showExample);