2010-05-07 04:47:10 -05:00
|
|
|
/*
|
|
|
|
* Copyright 2009-2010, Pier Luigi Fiorini. All rights reserved.
|
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
|
|
|
#ifndef _PREFERENCES_ACCOUNTS_H
|
|
|
|
#define _PREFERENCES_ACCOUNTS_H
|
|
|
|
|
|
|
|
#include <View.h>
|
|
|
|
|
|
|
|
class BButton;
|
2010-05-08 14:35:28 -05:00
|
|
|
class BListView;
|
|
|
|
class BPopUpMenu;
|
|
|
|
|
|
|
|
class ToolButton;
|
|
|
|
class ProtocolSettings;
|
2010-05-07 04:47:10 -05:00
|
|
|
|
|
|
|
class PreferencesAccounts : public BView {
|
|
|
|
public:
|
|
|
|
PreferencesAccounts();
|
|
|
|
|
|
|
|
virtual void AttachedToWindow();
|
|
|
|
virtual void MessageReceived(BMessage* msg);
|
|
|
|
|
|
|
|
private:
|
|
|
|
BListView* fListView;
|
2010-05-08 14:35:28 -05:00
|
|
|
BPopUpMenu* fProtosMenu;
|
|
|
|
ToolButton* fDelButton;
|
|
|
|
ToolButton* fEditButton;
|
|
|
|
|
|
|
|
|
|
|
|
void _LoadListView(ProtocolSettings* settings);
|
2010-05-07 04:47:10 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _PREFERENCES_ACCOUNTS_H
|