diff options
Diffstat (limited to 'linden/indra/newview/authentication_floater.h')
-rw-r--r-- | linden/indra/newview/authentication_floater.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/linden/indra/newview/authentication_floater.h b/linden/indra/newview/authentication_floater.h new file mode 100644 index 0000000..b24426b --- /dev/null +++ b/linden/indra/newview/authentication_floater.h | |||
@@ -0,0 +1,35 @@ | |||
1 | /* | ||
2 | * AuthenticationFloater.h | ||
3 | * Cross-grid authentication system view. | ||
4 | * | ||
5 | * Created by RMS on 7/1/08. | ||
6 | * | ||
7 | */ | ||
8 | |||
9 | #ifndef PL_AuthenticationFloater_H | ||
10 | #define PL_AuthenticationFloater_H | ||
11 | |||
12 | #include "llfloater.h" | ||
13 | #include "authentication_controller.h" | ||
14 | |||
15 | class AuthenticationFloater : public LLFloater | ||
16 | { | ||
17 | public: | ||
18 | AuthenticationFloater(); | ||
19 | virtual ~AuthenticationFloater(); | ||
20 | |||
21 | static void show(void* userdata); | ||
22 | static void accept(); | ||
23 | static void cancel(); | ||
24 | |||
25 | // data accessors | ||
26 | static AuthenticationController* controller(); | ||
27 | |||
28 | private: | ||
29 | // static because we only need one floater | ||
30 | static AuthenticationFloater* sInstance; | ||
31 | static AuthenticationController* sController; | ||
32 | }; | ||
33 | |||
34 | |||
35 | #endif // PL_AuthenticationFloater_H | ||