2010-05-19 13:05:30 -05:00
|
|
|
/*
|
|
|
|
* Copyright 2010, Oliver Ruiz Dorantes. All rights reserved.
|
2012-03-01 20:23:21 -06:00
|
|
|
* Copyright 2012, Dario Casalinuovo. All rights reserved.
|
2010-05-19 13:05:30 -05:00
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
|
|
|
#ifndef _PREFERENCES_BEHAVIOR_H
|
|
|
|
#define _PREFERENCES_BEHAVIOR_H
|
|
|
|
|
|
|
|
#include <View.h>
|
|
|
|
|
|
|
|
class BCheckBox;
|
|
|
|
class BStringView;
|
|
|
|
|
|
|
|
class PreferencesBehavior : public BView {
|
|
|
|
public:
|
|
|
|
PreferencesBehavior();
|
|
|
|
|
|
|
|
virtual void AttachedToWindow();
|
|
|
|
virtual void MessageReceived(BMessage* msg);
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
2010-05-30 17:00:09 -05:00
|
|
|
BStringView* fOnIncoming;
|
2013-04-06 14:47:04 -05:00
|
|
|
BCheckBox* fHideOffline;
|
2010-05-19 13:05:30 -05:00
|
|
|
BCheckBox* fToCurrentWorkspace;
|
2012-06-07 11:46:07 -05:00
|
|
|
BCheckBox* fRaiseOnMessageReceived;
|
|
|
|
BCheckBox* fRaiseUserIsTyping;
|
2010-05-19 13:05:30 -05:00
|
|
|
BCheckBox* fPlaySoundOnMessageReceived;
|
|
|
|
BCheckBox* fMarkUnreadWindow;
|
2012-03-03 20:27:16 -06:00
|
|
|
BCheckBox* fMarkUnreadReplicant;
|
2015-10-01 23:17:54 -05:00
|
|
|
BStringView* fGeneral;
|
|
|
|
BCheckBox* fDisableQuitConfirm;
|
2010-05-19 13:05:30 -05:00
|
|
|
|
2012-03-08 16:55:13 -06:00
|
|
|
BStringView* fNotifications;
|
|
|
|
BCheckBox* fNotifyProtocols;
|
|
|
|
BCheckBox* fNotifyContactStatus;
|
2013-04-06 14:47:04 -05:00
|
|
|
BCheckBox* fNotifyNewMessage;
|
2011-12-14 17:36:27 -06:00
|
|
|
|
2010-05-19 13:05:30 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _PREFERENCES_BEHAVIOR_H
|