PreferencesNotifications.h 780 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * Copyright 2010, Oliver Ruiz Dorantes. All rights reserved.
  3. * Copyright 2012, Dario Casalinuovo. All rights reserved.
  4. * Copyright 2021, Jaidyn Levesque. All rights reserved.
  5. * Distributed under the terms of the MIT License.
  6. */
  7. #ifndef _PREFERENCES_NOTIFICATIONS_H
  8. #define _PREFERENCES_NOTIFICATIONS_H
  9. #include <View.h>
  10. class BButton;
  11. class BCheckBox;
  12. class PreferencesNotifications : public BView {
  13. public:
  14. PreferencesNotifications();
  15. virtual void AttachedToWindow();
  16. virtual void MessageReceived(BMessage* msg);
  17. private:
  18. BCheckBox* fNotifyProtocols;
  19. BCheckBox* fNotifyContactStatus;
  20. BCheckBox* fNotifyNewMessage;
  21. BCheckBox* fSoundOnMessageReceived;
  22. BCheckBox* fSoundOnMention;
  23. BButton* fSoundsButton;
  24. };
  25. #endif // _PREFERENCES_NOTIFICATIONS_H