2010-05-07 04:47:10 -05:00
|
|
|
/*
|
|
|
|
* Copyright 2009-2010, Pier Luigi Fiorini. All rights reserved.
|
2021-08-06 12:21:17 -05:00
|
|
|
* Copyright 2021, Jaidyn Levesque. All rights reserved.
|
2010-05-07 04:47:10 -05:00
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
2021-08-06 12:21:17 -05:00
|
|
|
#ifndef _ACCOUNTS_WINDOW_H
|
|
|
|
#define _ACCOUNTS_WINDOW_H
|
2010-05-07 04:47:10 -05:00
|
|
|
|
2021-08-06 12:21:17 -05:00
|
|
|
#include <Window.h>
|
2010-05-07 04:47:10 -05:00
|
|
|
|
|
|
|
class BButton;
|
2010-05-08 14:35:28 -05:00
|
|
|
class BListView;
|
|
|
|
class BPopUpMenu;
|
|
|
|
|
|
|
|
class ProtocolSettings;
|
2010-05-07 04:47:10 -05:00
|
|
|
|
2021-06-11 20:33:28 -05:00
|
|
|
|
2021-08-06 12:21:17 -05:00
|
|
|
class AccountsWindow : public BWindow {
|
2010-05-07 04:47:10 -05:00
|
|
|
public:
|
2021-08-06 12:21:17 -05:00
|
|
|
AccountsWindow();
|
2010-05-07 04:47:10 -05:00
|
|
|
|
|
|
|
virtual void MessageReceived(BMessage* msg);
|
|
|
|
|
|
|
|
private:
|
|
|
|
BListView* fListView;
|
2010-05-08 14:35:28 -05:00
|
|
|
BPopUpMenu* fProtosMenu;
|
2021-05-30 22:04:45 -05:00
|
|
|
BButton* fDelButton;
|
|
|
|
BButton* fEditButton;
|
2021-06-11 20:33:28 -05:00
|
|
|
BButton* fToggleButton;
|
2010-05-08 14:35:28 -05:00
|
|
|
|
|
|
|
void _LoadListView(ProtocolSettings* settings);
|
2021-08-05 19:28:05 -05:00
|
|
|
|
|
|
|
int64 _AccountInstance(const char* account);
|
2010-05-07 04:47:10 -05:00
|
|
|
};
|
|
|
|
|
2021-08-06 12:21:17 -05:00
|
|
|
#endif // _ACCOUNTS_WINDOW_H
|