merge commits of 2.2.1 to public
[platform/framework/native/image.git] / src / FMedia_ImageUriDataEvent.h
1 //
2 // Open Service Platform
3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
4 //
5 // Licensed under the Apache License, Version 2.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
8 //
9 //     http://www.apache.org/licenses/LICENSE-2.0
10 //
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
16 //
17
18 /**
19  * @file   FMedia_ImageUriDataEvent.h
20  * @brief  This file contains the declaration of _ImageUriDataEvent class,
21  *               required internally by Image::DecodeUrl.
22  */
23
24 #ifndef FMEDIA_INTERNAL_IMAGEURIDATAEVENT_H_
25 #define FMEDIA_INTERNAL_IMAGEURIDATAEVENT_H_
26
27 #include <FBaseRt_Event.h>
28
29 namespace Tizen{ namespace Media{
30
31 class _ImageUriDataEvent
32         : public Tizen::Base::Runtime::_Event
33 {
34
35 public:
36         _ImageUriDataEvent(void);
37
38         virtual ~_ImageUriDataEvent(void);
39
40         result Construct(void);
41
42 protected:
43         virtual void FireImpl(Tizen::Base::Runtime::IEventListener& Listener,
44                                                         const Tizen::Base::Runtime::IEventArg& arg);
45
46 private:
47         _ImageUriDataEvent(const _ImageUriDataEvent& value);
48         _ImageUriDataEvent& operator =(const _ImageUriDataEvent& value);
49
50         int __cntListener;
51
52 };
53
54 }} // Tizen::Media
55
56 #endif // FMEDIA_INTERNAL_IMAGEURIDATAEVENT_H_
57