EveGlue.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00031 #ifndef _EveGlue_h_
00032 #define _EveGlue_h_
00033
00034 #include <GG/adobe/dictionary.hpp>
00035
00036 #include <boost/function.hpp>
00037
00038
00039 namespace GG {
00040
00041 class Wnd;
00042
00044 struct ModalDialogResult
00045 {
00050 adobe::dictionary_t m_result;
00051
00054 adobe::name_t m_terminating_action;
00055 };
00056
00061 typedef boost::function <bool (adobe::name_t, const adobe::any_regular_t&)> ButtonHandler;
00062
00065 ModalDialogResult ExecuteModalDialog(std::istream& eve_definition,
00066 std::istream& adam_definition,
00067 ButtonHandler handler);
00068
00071 Wnd* MakeDialog(std::istream& eve_definition,
00072 std::istream& adam_definition,
00073 ButtonHandler handler);
00074
00075 }
00076
00077 #endif