merge with master
[platform/framework/web/wrt-plugins-common.git] / src / modules / tizen / DEPRACATED / Gallery / GalleryRequestManager.h
1 /*
2  * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  *    Licensed under the Apache License, Version 2.0 (the "License");
5  *    you may not use this file except in compliance with the License.
6  *    You may obtain a copy of the License at
7  *
8  *        http://www.apache.org/licenses/LICENSE-2.0
9  *
10  *    Unless required by applicable law or agreed to in writing, software
11  *    distributed under the License is distributed on an "AS IS" BASIS,
12  *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  *    See the License for the specific language governing permissions and
14  *    limitations under the License.
15  */
16 /**
17  * @file        GalleryRequestManager.h
18  * @author      Wojciech Bielawski (w.bielawski@samsung.com)
19  * @version     0.1
20  */
21
22 #ifndef WRT_PLUGINS_GALLERYREQUESTMANAGER_H_
23 #define WRT_PLUGINS_GALLERYREQUESTMANAGER_H_
24
25 #include <API/Gallery/IGalleryRequestManager.h>
26
27 namespace WrtPlugins {
28 namespace Platform {
29 class GalleryRequestManager : public Api::Gallery::IGalleryRequestManager
30 {
31   public:
32
33   protected:
34     virtual void OnRequestReceived(
35         const Api::Gallery::IEventGetGalleriesPtr &event);
36     virtual void OnRequestReceived(const Api::Gallery::IEventOpenPtr &event);
37     virtual void OnRequestReceived(const Api::Gallery::IEventRefreshPtr &event);
38     virtual void OnRequestReceived(const Api::Gallery::IEventClosePtr &event);
39     virtual void OnRequestReceived(
40         const Api::Gallery::IEventChangeViewPtr &event);
41     virtual void OnRequestReceived(
42         const Api::Gallery::IEventGetMediaItemsPtr &event);
43     virtual void OnRequestReceived(
44         const Api::Gallery::IEventGetMediaItemByIdPtr &event);
45 };
46 }
47 }
48
49 #endif //WRT_PLUGINS_GALLERYREQUESTMANAGER_H_