Ticket #31974: patch-includes_mac_MacHelpers.h.diff

File patch-includes_mac_MacHelpers.h.diff, 1.0 KB (added by marin.saric@…, 13 years ago)
  • includes/mac/MacHelpers.h

     
    5757                         MAC_MOUSEMOVED,
    5858                         MAC_MOUSESCROLL};
    5959    typedef enum Mac_EventType MacEventType;
    60    
    61    
     60
    6261    // only used by MacKeyboard
    6362    typedef class Mac_KeyStackEvent
    6463    {
    6564        friend class MacKeyboard;
    66        
    67        
     65
    6866    private:
    6967        Mac_KeyStackEvent( KeyEvent event, MacEventType type ) : Event(event), Type(type) {}
    7068       
    7169        MacEventType Type;
    7270        KeyEvent Event;
    7371    } MacKeyStackEvent;
    74  
    75    
    76 
    77     // only used by MacMouse
    78     typedef class Mac_MouseStackEvent
    79     {
    80         friend class MacMouse;
    81        
    82     private:
    83         Mac_MouseStackEvent( MouseEvent event, MacEventType type,  MouseButtonID button) : Event(event), Type(type), Button(button) {}
    84        
    85         MacEventType Type;
    86         MouseEvent Event;
    87                 MouseButtonID Button;
    88        
    89     } MacMouseStackEvent;
    90        
    9172}
    9273
    9374