}
-void FGButton::init( const SGPropertyNode * node, const string name, string & module )
+void FGButton::init( const SGPropertyNode * node, const std::string name, std::string & module )
{
if (node == 0) {
SG_LOG(SG_INPUT, SG_DEBUG, "No bindings for button " << name);
public:
FGButton();
virtual ~FGButton();
- void init( const SGPropertyNode * node, const string name, string & module );
+ void init( const SGPropertyNode * node, const std::string name, std::string & module );
void update( int modifiers, bool pressed, int x = -1, int y = -1);
bool is_repeatable;
float interval_sec;
class FGCommonInput {
public:
- typedef vector<SGSharedPtr<SGBinding> > binding_list_t;
+ typedef std::vector<SGSharedPtr<SGBinding> > binding_list_t;
/*
read all "binding" nodes directly under the specified base node and fill the
vector of SGBinding supplied in binding_list. Reads all the mod-xxx bindings and
add the corresponding SGBindings.
*/
- static void read_bindings (const SGPropertyNode * base, binding_list_t * binding_list, int modifiers, const string & module );
+ static void read_bindings (const SGPropertyNode * base, binding_list_t * binding_list, int modifiers, const std::string & module );
};
#endif