Debian Codegraph @

Examples/GUIStyle/MenuSystem/NS_Profile.h

raw
1 // NS_Profile.h: interface for the NS_Profile class.
2 //
3 //////////////////////////////////////////////////////////////////////
4
5 #if !defined(AFX_NS_PROFILE_H__EDFB8C32_158A_4CC6_805E_F8F99EA8E0BF__INCLUDED_)
6 #define AFX_NS_PROFILE_H__EDFB8C32_158A_4CC6_805E_F8F99EA8E0BF__INCLUDED_
7
8 #if _MSC_VER > 1000
9 #pragma once
10 #endif // _MSC_VER > 1000
11
12 #include <ClanLib/gui.h>
13 #include <ClanLib/gui.h>
14 #include <ClanLib/signals.h>
15 #include <ClanLib/signals.h>
16
17 #include <map>
18 #include <string>
19
20 class NS_Profile : public CL_Window
21 {
22 public:
23 NS_Profile(CL_Component * parent);
24 ~NS_Profile();
25 public:
26 void on_ok();
27 static bool open(CL_Component * parent);
28 void on_sig_activated(int index);
29 void on_new_player();
30 void on_delete_player();
31 bool is_success() const;
32 private:
33 std::map<std::string, CL_Component * > components;
34 bool success;
35 CL_SlotContainer slots;
36 };
37
38 #endif // !defined(AFX_NS_PROFILE_H__EDFB8C32_158A_4CC6_805E_F8F99EA8E0BF__INCLUDED_)