# error This library requires C++
#endif
-#include <simgear/compiler.h> // for SG_USING_STD
#include <Main/fg_props.hxx>
#include <plib/pu.h>
#include <map>
-SG_USING_STD(map);
-
#include <vector>
-SG_USING_STD(vector);
-
class puMenuBar;
class puObject;
puMenuBar * _menuBar;
// A map of bindings for the menubar.
- map<string,vector<SGBinding *> > _bindings;
+ std::map<std::string,std::vector<SGBinding *> > _bindings;
// These are hoops that we have to jump through because PUI doesn't
// do memory management for lists. We have to allocate the arrays,
// freed.
char ** make_char_array (int size);
puCallback * make_callback_array (int size);
- vector<char **> _char_arrays;
- vector<puCallback *> _callback_arrays;
+ std::vector<char **> _char_arrays;
+ std::vector<puCallback *> _callback_arrays;
// A map for {menu node path}->puObject translation.
- map<string, puObject *> _objects;
+ std::map<std::string, puObject *> _objects;
};
#endif // __MENUBAR_HXX