[Herecast-commit] herecast/src/TodayItem whereami.cpp,1.11,1.12
Status: Beta
Brought to you by:
mdpaciga
|
From: Mark P. <mdp...@us...> - 2005-07-25 20:01:38
|
Update of /cvsroot/herecast/herecast/src/TodayItem In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18282/src/TodayItem Modified Files: whereami.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: whereami.cpp =================================================================== RCS file: /cvsroot/herecast/herecast/src/TodayItem/whereami.cpp,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** whereami.cpp 25 Jul 2005 18:41:38 -0000 1.11 --- whereami.cpp 25 Jul 2005 20:01:00 -0000 1.12 *************** *** 378,381 **** --- 378,382 ---- g_Location->checkUploadNeeded(); acMessage = g_Location->toString(&status); + g_Location->checkSubscriptions(); if (wcscmp(acMessage, g_acMessage)) { |