54 * @param aPageNum The page to be extracted |
54 * @param aPageNum The page to be extracted |
55 * @param aItemsPerPage Number of items per page |
55 * @param aItemsPerPage Number of items per page |
56 * @return SmfPluginError Plugin error if any, else SmfPluginErrNone |
56 * @return SmfPluginError Plugin error if any, else SmfPluginErrNone |
57 */ |
57 */ |
58 virtual SmfPluginError events( SmfPluginRequestData &aRequest, |
58 virtual SmfPluginError events( SmfPluginRequestData &aRequest, |
59 const QGeoPositionInfo &aLocation, |
59 const SmfLocation &aLocation, |
60 const int aPageNum = SMF_FIRST_PAGE, |
60 const int aPageNum = SMF_FIRST_PAGE, |
61 const int aItemsPerPage = SMF_ITEMS_PER_PAGE ) = 0; |
61 const int aItemsPerPage = SMF_ITEMS_PER_PAGE ) = 0; |
62 |
62 |
63 /** |
63 /** |
64 * Method to get the venues based on location |
64 * Method to get the venues based on location |
67 * @param aPageNum The page to be extracted |
67 * @param aPageNum The page to be extracted |
68 * @param aItemsPerPage Number of items per page |
68 * @param aItemsPerPage Number of items per page |
69 * @return SmfPluginError Plugin error if any, else SmfPluginErrNone |
69 * @return SmfPluginError Plugin error if any, else SmfPluginErrNone |
70 */ |
70 */ |
71 virtual SmfPluginError venues( SmfPluginRequestData &aRequest, |
71 virtual SmfPluginError venues( SmfPluginRequestData &aRequest, |
72 const QGeoPositionInfo &aLocation, |
72 const SmfLocation &aLocation, |
73 const int aPageNum = SMF_FIRST_PAGE, |
|
74 const int aItemsPerPage = SMF_ITEMS_PER_PAGE ) = 0; |
|
75 |
|
76 /** |
|
77 * Method to get the events based on venues |
|
78 * @param aRequest [out] The request data to be sent to network |
|
79 * @param aVenue Venue of the event |
|
80 * @param aPageNum The page to be extracted |
|
81 * @param aItemsPerPage Number of items per page |
|
82 * @return SmfPluginError Plugin error if any, else SmfPluginErrNone |
|
83 */ |
|
84 virtual SmfPluginError events( SmfPluginRequestData &aRequest, |
|
85 const SmfLocation &aVenue, |
|
86 const int aPageNum = SMF_FIRST_PAGE, |
73 const int aPageNum = SMF_FIRST_PAGE, |
87 const int aItemsPerPage = SMF_ITEMS_PER_PAGE ) = 0; |
74 const int aItemsPerPage = SMF_ITEMS_PER_PAGE ) = 0; |
88 |
75 |
89 /** |
76 /** |
90 * Method to post events |
77 * Method to post events |