Chat-O-Matic/application/preferences/PreferencesBehavior.h
Ivan Gualandri b4d9d575a9 Task #12
* Add General section in Preference/Behavior
 * Don't prompt at quit option under General section
 * Show confirmation dialog on quit (if enabled)

Misc
 * Replace +/- in preferences Accounts with Add/Del
2015-10-02 04:17:54 +00:00

42 lines
966 B
C++

/*
* Copyright 2010, Oliver Ruiz Dorantes. All rights reserved.
* Copyright 2012, Dario Casalinuovo. All rights reserved.
* 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:
BStringView* fOnIncoming;
BCheckBox* fHideOffline;
BCheckBox* fToCurrentWorkspace;
BCheckBox* fRaiseOnMessageReceived;
BCheckBox* fRaiseUserIsTyping;
BCheckBox* fPlaySoundOnMessageReceived;
BCheckBox* fMarkUnreadWindow;
BCheckBox* fMarkUnreadReplicant;
BStringView* fGeneral;
BCheckBox* fDisableQuitConfirm;
BStringView* fNotifications;
BCheckBox* fNotifyProtocols;
BCheckBox* fNotifyContactStatus;
BCheckBox* fNotifyNewMessage;
};
#endif // _PREFERENCES_BEHAVIOR_H