PreferencesBehavior.h 629 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * Copyright 2010, Oliver Ruiz Dorantes. All rights reserved.
  3. * Copyright 2012, Dario Casalinuovo. All rights reserved.
  4. * Distributed under the terms of the MIT License.
  5. */
  6. #ifndef _PREFERENCES_BEHAVIOR_H
  7. #define _PREFERENCES_BEHAVIOR_H
  8. #include <View.h>
  9. class BCheckBox;
  10. class PreferencesBehavior : public BView {
  11. public:
  12. PreferencesBehavior();
  13. virtual void AttachedToWindow();
  14. virtual void MessageReceived(BMessage* msg);
  15. private:
  16. BCheckBox* fToCurrentWorkspace;
  17. BCheckBox* fRaiseOnMessageReceived;
  18. BCheckBox* fMarkUnreadWindow;
  19. BCheckBox* fDisableQuitConfirm;
  20. };
  21. #endif // _PREFERENCES_BEHAVIOR_H