don't bother typedefing this
This commit is contained in:
@@ -289,7 +289,7 @@ void InputFilter::ResetKeyRepeat( const DeviceInput &di )
|
||||
GetButtonState( di ).m_fSecsHeld = 0;
|
||||
}
|
||||
|
||||
void InputFilter::GetInputEvents( InputEventArray &array )
|
||||
void InputFilter::GetInputEvents( vector<InputEvent> &array )
|
||||
{
|
||||
array.clear();
|
||||
LockMut(*queuemutex);
|
||||
|
||||
@@ -35,8 +35,6 @@ struct InputEvent : public DeviceInput
|
||||
InputEventType type;
|
||||
};
|
||||
|
||||
typedef vector<InputEvent> InputEventArray;
|
||||
|
||||
class RageMutex;
|
||||
struct ButtonState;
|
||||
class InputFilter
|
||||
@@ -59,13 +57,13 @@ public:
|
||||
float GetSecsHeld( const DeviceInput &di );
|
||||
RString GetButtonComment( const DeviceInput &di ) const;
|
||||
|
||||
void GetInputEvents( InputEventArray &array );
|
||||
void GetInputEvents( vector<InputEvent> &aEventOut );
|
||||
void GetPressedButtons( vector<DeviceInput> &array );
|
||||
|
||||
private:
|
||||
void CheckButtonChange( ButtonState &bs, DeviceInput di, const RageTimer &now );
|
||||
|
||||
InputEventArray queue;
|
||||
vector<InputEvent> queue;
|
||||
RageMutex *queuemutex;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user