2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
4 // Licensed under the Flora License, Version 1.1 (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_
28 : public Tizen::Base::Object
32 virtual ~ThumbnailInfo(void);
34 void Construct(const Tizen::Content::ContentId& contentId,
35 const Tizen::Base::String& filePath, const Tizen::Graphics::Bitmap& bitmap,
36 const Tizen::Content::ContentType contentType, const long duration = 0);
38 Tizen::Content::ContentId GetContentId(void) const;
39 Tizen::Base::String GetFilePath(void) const;
40 void SetFilePath(const Tizen::Base::String& filePath);
41 Tizen::Graphics::Bitmap* GetBitmapN(void) const;
42 void SetBitmap(const Tizen::Graphics::Bitmap& bitmap);
43 Tizen::Content::ContentType GetContentType(void) const;
44 void SetContentType(const Tizen::Content::ContentType contentType);
45 long GetDuration(void) const;
46 void SetDuration(const long duration);
49 Tizen::Graphics::Bitmap* CloneBitmapN(const Tizen::Graphics::Bitmap& bitmap) const;
52 Tizen::Content::ContentId __contentId;
53 Tizen::Base::String __filePath;
54 Tizen::Graphics::Bitmap* __pBitmap;
55 Tizen::Content::ContentType __contentType;
59 #endif /* _GL_THUMBNAIL_INFO_H_ */