2021-08-18 18:28:53 -05:00
|
|
|
/*
|
|
|
|
* Copyright 2010, Oliver Ruiz Dorantes. All rights reserved.
|
|
|
|
* Copyright 2012, Dario Casalinuovo. All rights reserved.
|
2021-08-18 20:19:11 -05:00
|
|
|
* Copyright 2021, Jaidyn Levesque. All rights reserved.
|
2021-08-18 18:28:53 -05:00
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
|
|
|
#ifndef _PREFERENCES_NOTIFICATIONS_H
|
|
|
|
#define _PREFERENCES_NOTIFICATIONS_H
|
|
|
|
|
|
|
|
#include <View.h>
|
|
|
|
|
2021-08-18 20:19:11 -05:00
|
|
|
class BButton;
|
2021-08-18 18:28:53 -05:00
|
|
|
class BCheckBox;
|
|
|
|
|
|
|
|
class PreferencesNotifications : public BView {
|
|
|
|
public:
|
|
|
|
PreferencesNotifications();
|
|
|
|
|
|
|
|
virtual void AttachedToWindow();
|
|
|
|
virtual void MessageReceived(BMessage* msg);
|
|
|
|
|
|
|
|
private:
|
|
|
|
BCheckBox* fNotifyProtocols;
|
|
|
|
BCheckBox* fNotifyContactStatus;
|
|
|
|
BCheckBox* fNotifyNewMessage;
|
|
|
|
BCheckBox* fSoundOnMessageReceived;
|
|
|
|
BCheckBox* fSoundOnMention;
|
2021-08-18 20:19:11 -05:00
|
|
|
|
|
|
|
BButton* fSoundsButton;
|
2021-08-18 18:28:53 -05:00
|
|
|
};
|
|
|
|
|
2021-08-18 20:19:11 -05:00
|
|
|
#endif // _PREFERENCES_NOTIFICATIONS_H
|