laid groundwork for newcache posted

re-enabled postedVEG
added convenience base class for gxs services
fixed posted and gxs gui
removed tokenservicev2, now just tokenservice 

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5641 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
chrisparker126 2012-10-05 18:12:52 +00:00
parent a57d627074
commit 8f2d85ed52
32 changed files with 1202 additions and 761 deletions

View file

@ -32,7 +32,7 @@
*****/
/** Constructor */
TokenQueueV2::TokenQueueV2(RsTokenServiceV2 *service, TokenResponseV2 *resp)
TokenQueueV2::TokenQueueV2(RsTokenService *service, TokenResponseV2 *resp)
:QWidget(NULL), mService(service), mResponder(resp)
{
return;
@ -152,8 +152,8 @@ bool TokenQueueV2::checkForRequest(uint32_t token)
{
/* check token */
uint32_t status = mService->requestStatus(token);
return ( (RsTokenServiceV2::GXS_REQUEST_V2_STATUS_FAILED == status) ||
(RsTokenServiceV2::GXS_REQUEST_V2_STATUS_COMPLETE == status) );
return ( (RsTokenService::GXS_REQUEST_V2_STATUS_FAILED == status) ||
(RsTokenService::GXS_REQUEST_V2_STATUS_COMPLETE == status) );
}

View file

@ -72,7 +72,7 @@ class TokenQueueV2: public QWidget
Q_OBJECT
public:
TokenQueueV2(RsTokenServiceV2 *service, TokenResponseV2 *resp);
TokenQueueV2(RsTokenService *service, TokenResponseV2 *resp);
/* generic handling of token / response update behaviour */
@ -111,7 +111,7 @@ private:
/* Info for Data Requests */
std::list<TokenRequestV2> mRequests;
RsTokenServiceV2 *mService;
RsTokenService *mService;
TokenResponseV2 *mResponder;
QTimer *mTrigger;