tcp: Fix 64 bit build with debugging features enabled.
[haiku.git] / src / preferences / notifications / SettingsPane.cpp
blob128e7a55213d2fb6c993fa5757dcd03419a305f5
1 /*
2 * Copyright 2010, 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 */
10 #include <Message.h>
12 #include "SettingsPane.h"
13 #include "SettingsHost.h"
16 SettingsPane::SettingsPane(const char* name, SettingsHost* host)
18 BView(name, B_WILL_DRAW),
19 fHost(host)
24 void
25 SettingsPane::MessageReceived(BMessage* msg)
27 switch (msg->what) {
28 case kSettingChanged:
29 fHost->SettingChanged();
30 break;
31 default:
32 BView::MessageReceived(msg);