Ignore:
Timestamp:
07/01/10 11:55:18 (11 years ago)
Author:
sc
Message:

remote_control/puzzlebox_brainstorms_network_client_thinkgear.py:

  • converted to use QCoreApplication format

remote_control/puzzlebox_brainstorms_client_interface.py:

  • corrected handling of ThinkGear? connecting/disconnecting

remote_control/puzzlebox_brainstorms_network_server_thinkgear.py:

  • DEFAULT_SAMPLE_WAVELENGTH updated to 20 seconds
  • connection handling reorganized
  • comment cleanup
File:
1 edited

Legend:

Unmodified
Added
Removed
  • remote_control/puzzlebox_brainstorms_network_client_thinkgear.py

    r79 r81  
    99# For more information please refer to http://www.gnu.org/copyleft/gpl.html 
    1010# 
    11 # Last Update: 2010.06.28 
     11# Last Update: 2010.07.01 
    1212# 
    1313##################################################################### 
     
    1616import signal 
    1717 
    18 from PyQt4 import QtCore, QtGui, QtNetwork 
     18from PyQt4 import QtCore, QtNetwork 
    1919 
    2020import simplejson as json 
     
    276276        #log.info("Command parameters: %s" % command_parameters) 
    277277         
     278        app = QtCore.QCoreApplication(sys.argv) 
     279         
    278280        client = puzzlebox_brainstorms_network_client_thinkgear_command_line(log, \ 
    279281                    command_parameters, \ 
     
    282284                    DEBUG=DEBUG) 
    283285         
    284         while True: 
    285                 while client.socket.waitForReadyRead(CLIENT_NO_REPLY_WAIT): 
    286                         pass 
    287  
     286        #while True: 
     287                #while client.socket.waitForReadyRead(CLIENT_NO_REPLY_WAIT): 
     288                        #pass 
     289         
     290        sys.exit(app.exec_()) 
     291 
Note: See TracChangeset for help on using the changeset viewer.