2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
4 // Licensed under the Flora License, Version 1.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
8 // http://floralicense.org/license/
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.
18 * @file GlThumbnailInfo.h
19 * @brief This is the header file for ThumbnailInfo class.
22 #ifndef _GL_THUMBNAIL_INFO_H_
23 #define _GL_THUMBNAIL_INFO_H_
29 : public Tizen::Base::Object
33 virtual ~ThumbnailInfo(void);
35 void Construct(const Tizen::Content::ContentId& contentId,
36 const Tizen::Base::String& filePath, const Tizen::Graphics::Bitmap& bitmap,
37 const Tizen::Content::ContentType contentType, const long duration = 0);
39 Tizen::Content::ContentId GetContentId(void) const;
40 Tizen::Base::String GetFilePath(void) const;
41 void SetFilePath(const Tizen::Base::String& filePath);
42 Tizen::Graphics::Bitmap* GetBitmapN(void) const;
43 void SetBitmap(const Tizen::Graphics::Bitmap& bitmap);
44 Tizen::Content::ContentType GetContentType(void) const;
45 void SetContentType(const Tizen::Content::ContentType contentType);
46 long GetDuration(void) const;
47 void SetDuration(const long duration);
50 Tizen::Graphics::Bitmap* CloneBitmapN(const Tizen::Graphics::Bitmap& bitmap) const;
53 Tizen::Content::ContentId __contentId;
54 Tizen::Base::String __filePath;
55 Tizen::Graphics::Bitmap* __pBitmap;
56 Tizen::Content::ContentType __contentType;
60 #endif /* _GL_THUMBNAIL_INFO_H_ */