Labyrinth
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
exporter.hpp
1 //////////////////////////////
2 //
3 // File: swce/exporter.hpp
4 // Author: Maciej Kaminski
5 // E-mail: maciej.a.kaminski@gmail.com
6 // Website: maciejkaminski.pl
7 //
8 // File creation date: Feb 15 2013
9 // This file is part of Project Labyrinth
10 // This file is going to be released under terms of GNU GPL in near future
11 //
12 //////////////////////////////
13 
14 #ifndef __LXS_SWCE_EXPORTER__
15 #define __LXS_SWCE_EXPORTER__
16 #include "helper/opengl.hpp"
17 #include "helper/tr1.hpp"
18 #include <string>
19 #include "lxs/windowing/form.hpp"
20 #include "lxs/windowing/form.hpp"
21 namespace SWRS
22 {
23  class Character;
24  class RulesSystem;
25 }
26 namespace LxS
27 {
28  namespace Network
29  {
30  class Command;
31  }
32 }
33 namespace SWCE
34 {
35  class Editor;
36  //! export character sheet to a server
38  {
39  private:
40  friend class Importer;
41  Editor * editor;
42  LxS::Windowing::Label * status;
43  int export_progress;
45  public:
46  //! constructor
47  Exporter(Editor * e);
48  void Animate(float dt);
49  //! associate editor object with this character exporter
50  void AttachEditor(Editor * e) {editor=e;}
51  ~Exporter();
52  void Initialize();
53  void OnFocus();
54  };
55 }
56 #endif