[Herecast-commit] herecast/src/HerecastXP HerecastXP.cpp,1.14,1.15
Status: Beta
Brought to you by:
mdpaciga
|
From: Mark P. <mdp...@us...> - 2005-07-25 20:01:35
|
Update of /cvsroot/herecast/herecast/src/HerecastXP In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18282/src/HerecastXP Modified Files: HerecastXP.cpp Log Message: subscriptions are now updated shortly after first subscribing. This is done by calling Location->checkSubscriptions (and thus SubscriptionAgent->check) as part of the doScan method, which is run every 10 seconds. We should optimise Subscription->agent check to avoid parsing all URLs every 10 seconds, but this will do for now. Index: HerecastXP.cpp =================================================================== RCS file: /cvsroot/herecast/herecast/src/HerecastXP/HerecastXP.cpp,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** HerecastXP.cpp 21 Jul 2005 20:01:10 -0000 1.14 --- HerecastXP.cpp 25 Jul 2005 20:01:00 -0000 1.15 *************** *** 172,175 **** --- 172,176 ---- BOOL isReliable; acMessage = g_Location->toString(&g_status, &isReliable); + g_Location->checkSubscriptions(); if (wcscmp(acMessage, acPrevMessage)) { |