Offers response
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
#include "contract.h"
|
||||
|
||||
long WrenchReturnTaskMessage(CVars in, CVars &out);
|
||||
long WrenchReturnOffersResponse(CVars in, CVars &out);
|
||||
|
||||
long mobile_calls(CVars in, CVars &out) {
|
||||
logfmt(logINFO, "mobile_calls()");
|
||||
@@ -32,6 +33,10 @@ long mobile_calls(CVars in, CVars &out) {
|
||||
return WrenchReturnJobOffersList(in, out);
|
||||
break;
|
||||
|
||||
case WRENCHBOARD_MOBILE_OFFERSRESP:
|
||||
return WrenchReturnOffersResponse(in, out);
|
||||
break;
|
||||
|
||||
case WRENCHBOARD_MOBILE_LOADPROFILE:
|
||||
return WrenchReturnUserProfile(in, out);
|
||||
break;
|
||||
@@ -309,4 +314,10 @@ long WrenchReturnJobOffersList(CVars in, CVars &out) {
|
||||
long WrenchReturnActiveJobsList(CVars in, CVars &out) {
|
||||
// return WrenchUsersTasksList(in, out);
|
||||
return WrenchMemberActiveJobs(in, out);
|
||||
}
|
||||
|
||||
/* This return the list of jobs on the home page of the apps*/
|
||||
long WrenchReturnOffersResponse(CVars in, CVars &out) {
|
||||
// return WrenchUsersTasksList(in, out);
|
||||
return 0
|
||||
}
|
||||
Reference in New Issue
Block a user