Update of /cvsroot/playerstage/code/player/server/drivers/joystick
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10464/player/server/drivers/joystick

Modified Files:
        linuxjoy.cc 
Log Message:
applied Toby's autopointer patches

Index: linuxjoy.cc
===================================================================
RCS file: /cvsroot/playerstage/code/player/server/drivers/joystick/linuxjoy.cc,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -d -r1.30 -r1.31
*** linuxjoy.cc 27 Feb 2006 18:19:03 -0000      1.30
--- linuxjoy.cc 23 Aug 2007 19:58:44 -0000      1.31
***************
*** 194,198 ****
    private: virtual void Main();
  
!   public: virtual int ProcessMessage(MessageQueue* resp_queue, 
                                       player_msghdr * hdr, 
                                       void * data) {return -1;}
--- 194,198 ----
    private: virtual void Main();
  
!   public: virtual int ProcessMessage(QueuePointer & resp_queue, 
                                       player_msghdr * hdr, 
                                       void * data) {return -1;}
***************
*** 513,517 ****
      this->joy_data.yscale = this->yaxis_max;
      this->joy_data.buttons = this->buttons;
!     this->Publish(this->joystick_addr, NULL,
                    PLAYER_MSGTYPE_DATA, PLAYER_JOYSTICK_DATA_STATE,
                    (void*)&this->joy_data, sizeof(this->joy_data), NULL);
--- 513,517 ----
      this->joy_data.yscale = this->yaxis_max;
      this->joy_data.buttons = this->buttons;
!     this->Publish(this->joystick_addr, 
                    PLAYER_MSGTYPE_DATA, PLAYER_JOYSTICK_DATA_STATE,
                    (void*)&this->joy_data, sizeof(this->joy_data), NULL);
***************
*** 523,527 ****
      this->pos_data.pos.px = this->xpos;
      this->pos_data.pos.py = -this->ypos;
!     this->Publish(this->position_addr, NULL,
                    PLAYER_MSGTYPE_DATA, PLAYER_POSITION2D_DATA_STATE,
                    (void*)&this->pos_data, sizeof(this->pos_data), NULL);
--- 523,527 ----
      this->pos_data.pos.px = this->xpos;
      this->pos_data.pos.py = -this->ypos;
!     this->Publish(this->position_addr, 
                    PLAYER_MSGTYPE_DATA, PLAYER_POSITION2D_DATA_STATE,
                    (void*)&this->pos_data, sizeof(this->pos_data), NULL);


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to