aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/controllerpasswords.h
blob: e656659cd373c7a2ec7f875b88a29c663c597d98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*
 *  controllerpasswords.h
 *  SecondLife
 *
 *  Created by RMS on 8/5/08.
 *
 */

#include <string>
#include <list>
#include "llscrolllistctrl.h"
#include "llbutton.h"
#include "authentication_model.h"

#ifndef PL_controllerpasswords_H
#define PL_controllerpasswords_H
class PasswordsPrefPanel;

class PasswordsController
{
public:
	PasswordsController(PasswordsPrefPanel *panel);
	virtual ~PasswordsController();
	virtual void update();
protected:
	LLScrollListCtrl *accounts_list;
	LLButton *remove_btn;
private:
	AuthenticationModel::connection_t mModelConnection;
	
	PasswordsPrefPanel *mPanel;
	AuthenticationModel *mModel;
	
	std::list<std::string> mAccountData;
};

#endif // PL_controllerpasswords_H