#include "AirportList.hxx"
#include "layout.hxx"
+////////////////////////////////////////////////////////////////////////
+// Implementation of GUIInfo.
+////////////////////////////////////////////////////////////////////////
+
/**
* User data for a GUI object.
*/
int key;
};
+GUIInfo::GUIInfo (FGDialog * d)
+ : dialog(d),
+ key(-1)
+{
+}
+GUIInfo::~GUIInfo ()
+{
+ for (unsigned int i = 0; i < bindings.size(); i++) {
+ delete bindings[i];
+ bindings[i] = 0;
+ }
+}
+
+\f
/**
* Key handler.
*/
}
-\f
-////////////////////////////////////////////////////////////////////////
-// Implementation of GUIInfo.
-////////////////////////////////////////////////////////////////////////
-
-GUIInfo::GUIInfo (FGDialog * d)
- : dialog(d),
- key(-1)
-{
-}
-
-GUIInfo::~GUIInfo ()
-{
- for (unsigned int i = 0; i < bindings.size(); i++) {
- delete bindings[i];
- bindings[i] = 0;
- }
-}
-
-
\f
////////////////////////////////////////////////////////////////////////
// Implementation of FGDialog.