|
1 /** |
|
2 * Copyright (c) 2010 Sasken Communication Technologies Ltd. |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html" |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Chandradeep Gandhi, Sasken Communication Technologies Ltd - Initial contribution |
|
11 * |
|
12 * Description: |
|
13 * Represents activity in terms similar to standard activity stream http://activitystrea.ms/ |
|
14 */ |
|
15 |
|
16 #include "smfactivityfetcher.h" |
|
17 #include "smfactivityfetcher_p.h" |
|
18 |
|
19 SmfActivityFetcher::SmfActivityFetcher(SmfProvider *baseprovider) |
|
20 :m_baseProvider(baseprovider) |
|
21 { |
|
22 //creating private impl wrapper |
|
23 m_private = new SmfActivityFetcherPrivate(this); |
|
24 } |
|
25 |
|
26 SmfActivityFetcher::~SmfActivityFetcher() |
|
27 { |
|
28 |
|
29 } |
|
30 |
|
31 void SmfActivityFetcher::selfActivities(int pageNum, int perPage) |
|
32 { |
|
33 m_private->selfActivities(pageNum,perPage); |
|
34 } |
|
35 |
|
36 SmfProvider *SmfActivityFetcher::getProvider() |
|
37 { |
|
38 return m_baseProvider; |
|
39 } |
|
40 |
|
41 void SmfActivityFetcher::filtered(QList<SmfActivityObjectType> filters, int pageNum, int perPage) |
|
42 { |
|
43 m_private->filtered(filters,pageNum,perPage); |
|
44 } |
|
45 |
|
46 void SmfActivityFetcher::friendsActivities(const SmfContact & aFriend, int pageNum, int perPage) |
|
47 { |
|
48 m_private->friendsActivities(aFriend,pageNum,perPage); |
|
49 } |