mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-28 09:58:30 +01:00
Add non-sf.net contact options; make params const.
This commit is contained in:
parent
4c686bdaa0
commit
8035955814
5 changed files with 8 additions and 6 deletions
|
@ -84,6 +84,7 @@ ctlsFromState( PalmAppGlobals* XP_UNUSED_BT(globals), ConnsDlgState* state )
|
|||
} else if ( addr->conType == COMMS_CONN_BT
|
||||
&& state->serverRole == SERVER_ISCLIENT ) {
|
||||
ControlPtr ctrl = getActiveObjectPtr( XW_CONNS_BT_HOSTTRIGGER_ID );
|
||||
/* Settle for the colon-separated "name" if hostname not known */
|
||||
if ( '\0' == addr->u.bt.hostName[0] ) {
|
||||
palm_bt_addrString( globals, &addr->u.bt.btAddr, &state->tmp );
|
||||
CtlSetLabel( ctrl, state->tmp.chars );
|
||||
|
|
|
@ -150,13 +150,14 @@
|
|||
"THANKS FOR DOWNLOADING this beta version of "
|
||||
"Crosswords. Please see the notes and caveats at "
|
||||
"xwords.sf.net/bt_palm.php. Please report bugs to "
|
||||
"ehouse@users.sf.net. Enjoy!\n\n"
|
||||
"xwords@eehouse.org. Enjoy!\n\n"
|
||||
#endif
|
||||
"Crosswords " XW_PALM_VERSION_STRING " (rev. " SVN_REV ").\n" \
|
||||
"Copyright 1998-2007 by Eric House. "\
|
||||
"Released under the GNU Public License.\n\n"\
|
||||
|
||||
"See the manual at xwords.sourceforge.net\n\n" \
|
||||
"See the manual at xwords.sf.net or "
|
||||
"eehouse.org/xwords/.\n\n" \
|
||||
|
||||
"This program is postcardware. If you like it " \
|
||||
"please mail a postcard to:\n" \
|
||||
|
|
|
@ -157,13 +157,13 @@
|
|||
"MERCI DE VOTRE ATTENTION pour cette version beta de "
|
||||
"Crosswords. Svp, regardez les notes et avertissements sur "
|
||||
"xwords.sf.net/bt_palm.php. Svp, signalez les bugs à "
|
||||
"ehouse@users.sf.net. Au plaisir !\n\n"
|
||||
"xwords@eehouse.org. Au plaisir !\n\n"
|
||||
#endif
|
||||
"Crosswords " XW_PALM_VERSION_STRING " (rev. " SVN_REV ").\n" \
|
||||
"Copyright 1998-2007 par Eric House. "\
|
||||
"Réalisé sous GNU Public License.\n\n"\
|
||||
|
||||
"Voir le manuel sur xwords.sourceforge.net\n\n" \
|
||||
"Voir le manuel sur xwords.sf.net ou eehouse.org/xwords/.\n\n" \
|
||||
|
||||
"Ce programme est 'postcardware'. Si vous l'appréciez, " \
|
||||
"svp, envoyez une carte postale à :\n" \
|
||||
|
|
|
@ -311,7 +311,7 @@ palm_bt_doWork( PalmAppGlobals* globals, BtCbEvtProc proc, BtUIState* btUIStateP
|
|||
} /* palm_bt_doWork */
|
||||
|
||||
void
|
||||
palm_bt_addrString( PalmAppGlobals* globals, XP_BtAddr* btAddr,
|
||||
palm_bt_addrString( PalmAppGlobals* globals, const XP_BtAddr* btAddr,
|
||||
XP_BtAddrStr* str )
|
||||
{
|
||||
PalmBTStuff* btStuff = pbt_checkInit( globals, NULL );
|
||||
|
|
|
@ -66,7 +66,7 @@ typedef struct BtCbEvtInfo {
|
|||
typedef void (*BtCbEvtProc)( PalmAppGlobals* globals, const BtCbEvtInfo* evt );
|
||||
XP_Bool palm_bt_doWork( PalmAppGlobals* globals, BtCbEvtProc proc, BtUIState* btState );
|
||||
|
||||
void palm_bt_addrString( PalmAppGlobals* globals, XP_BtAddr* btAddr,
|
||||
void palm_bt_addrString( PalmAppGlobals* globals, const XP_BtAddr* btAddr,
|
||||
XP_BtAddrStr* str );
|
||||
|
||||
XP_S16 palm_bt_send( const XP_U8* buf, XP_U16 len, const CommsAddrRec* addr,
|
||||
|
|
Loading…
Reference in a new issue