818c28d43d
* Implement enabled ones * Add canditate preferences * Implement singleton-like preferences class CayaPreferences. These are working but they are not stored in file at closing
33 lines
651 B
C++
33 lines
651 B
C++
/*
|
|
* Copyright 2010, Oliver Ruiz Dorantes. 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* fOnIncomming;
|
|
BCheckBox* fToCurrentWorkspace;
|
|
BCheckBox* fActivateChatWindow;
|
|
BCheckBox* fPlaySoundOnMessageReceived;
|
|
BCheckBox* fMarkUnreadWindow;
|
|
|
|
BCheckBox* fHideEmoticons;
|
|
|
|
};
|
|
|
|
#endif // _PREFERENCES_BEHAVIOR_H
|