50 m_frndContact = NULL; |
50 m_frndContact = NULL; |
51 } |
51 } |
52 /** @TODO:- Request to unload the plugin*/ |
52 /** @TODO:- Request to unload the plugin*/ |
53 } |
53 } |
54 |
54 |
55 bool SmfContactFetcher::friends(int pageNum,int perPage) |
55 SmfError SmfContactFetcher::friends(int pageNum,int perPage) |
56 { |
56 { |
57 return m_private->friends(pageNum,perPage); |
57 return m_private->friends(pageNum,perPage); |
58 } |
58 } |
59 |
59 |
60 bool SmfContactFetcher::followers(int pageNum,int perPage) |
60 SmfError SmfContactFetcher::followers(int pageNum,int perPage) |
61 { |
61 { |
62 return m_private->followers(pageNum,perPage); |
62 return m_private->followers(pageNum,perPage); |
63 } |
63 } |
64 |
64 |
65 void SmfContactFetcher::search(SmfContact* contact,int pageNum,int perPage) |
65 SmfError SmfContactFetcher::search(SmfContact* contact,int pageNum,int perPage) |
66 { |
66 { |
67 m_private->search(contact,pageNum,perPage); |
67 return m_private->search(contact,pageNum,perPage); |
68 } |
68 } |
69 |
69 |
70 bool SmfContactFetcher::searchNear(SmfLocation* location,SmfLocationSearchBoundary proximity,int pageNum,int perPage) |
70 SmfError SmfContactFetcher::searchNear(SmfLocation* location,SmfLocationSearchBoundary proximity,int pageNum,int perPage) |
71 { |
71 { |
72 return m_private->searchNear(location, proximity, pageNum, perPage); |
72 return m_private->searchNear(location, proximity, pageNum, perPage); |
73 } |
73 } |
74 |
74 |
75 bool SmfContactFetcher::groups(int pageNum,int perPage) |
75 SmfError SmfContactFetcher::groups(int pageNum,int perPage) |
76 { |
76 { |
77 return m_private->groups(pageNum,perPage); |
77 return m_private->groups(pageNum,perPage); |
78 } |
78 } |
79 |
79 |
80 bool SmfContactFetcher::searchInGroup(SmfGroup group,int pageNum,int perPage) |
80 SmfError SmfContactFetcher::searchInGroup(SmfGroup group, SmfContact *contact, int pageNum,int perPage) |
81 { |
81 { |
82 return m_private->searchInGroup(group,pageNum,perPage); |
82 return m_private->searchInGroup(group,contact,pageNum,perPage); |
83 } |
83 } |
84 |
84 |
85 void SmfContactFetcher::customRequest(const int& operationId,QByteArray* customData) |
85 SmfError SmfContactFetcher::customRequest(const int& operationId,QByteArray* customData) |
86 { |
86 { |
87 m_private->customRequest(operationId, customData); |
87 return m_private->customRequest(operationId, customData); |
88 } |
88 } |
89 |
89 |
90 SmfProvider* SmfContactFetcher::getProvider() const |
90 SmfProvider* SmfContactFetcher::getProvider() const |
91 { |
91 { |
92 return m_baseProvider; |
92 return m_baseProvider; |
93 } |
93 } |
|
94 |
|
95 SmfError SmfContactFetcher::cancelRequest() |
|
96 { |
|
97 return m_private->cancelRequest(); |
|
98 } |