AccountsWindow.h 719 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. * Copyright 2009-2010, Pier Luigi Fiorini. All rights reserved.
  3. * Copyright 2021, Jaidyn Levesque. All rights reserved.
  4. * Distributed under the terms of the MIT License.
  5. */
  6. #ifndef _ACCOUNTS_WINDOW_H
  7. #define _ACCOUNTS_WINDOW_H
  8. #include <Window.h>
  9. class BButton;
  10. class BListView;
  11. class BPopUpMenu;
  12. class ProtocolSettings;
  13. class AccountsWindow : public BWindow {
  14. public:
  15. AccountsWindow();
  16. virtual void MessageReceived(BMessage* msg);
  17. private:
  18. BListView* fListView;
  19. BPopUpMenu* fProtosMenu;
  20. BButton* fDelButton;
  21. BButton* fEditButton;
  22. BButton* fToggleButton;
  23. void _LoadListView(ProtocolSettings* settings);
  24. int64 _AccountInstance(const char* account);
  25. };
  26. #endif // _ACCOUNTS_WINDOW_H