mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-06 20:10:08 +01:00
Remove local pubsub 3.3.0 code and import 4.0.0 from external package
This commit is contained in:
@@ -1,26 +0,0 @@
|
||||
"""
|
||||
Aggregates policies for pubsub. Mainly, related to messaging protocol.
|
||||
|
||||
:copyright: Copyright since 2006 by Oliver Schoenborn, all rights reserved.
|
||||
:license: BSD, see LICENSE_BSD_Simple.txt for details.
|
||||
"""
|
||||
|
||||
msgProtocolTransStage = None
|
||||
|
||||
msgDataProtocol = 'kwargs'
|
||||
msgDataArgName = None
|
||||
senderKwargNameAny = False
|
||||
|
||||
|
||||
def setMsgDataArgName(stage, listenerArgName, senderArgNameAny=False):
|
||||
global senderKwargNameAny
|
||||
global msgDataArgName
|
||||
global msgProtocolTransStage
|
||||
senderKwargNameAny = senderArgNameAny
|
||||
msgDataArgName = listenerArgName
|
||||
msgProtocolTransStage = stage
|
||||
#print('%s' % repr(policies.msgProtocolTransStage))
|
||||
#print('%s' % repr(policies.msgDataProtocol))
|
||||
#print('%s' % repr(policies.senderKwargNameAny))
|
||||
#print('%s' % repr(policies.msgDataArgName))
|
||||
#print('override "arg1" protocol arg name: %s' % argName)
|
||||
Reference in New Issue
Block a user