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.
19 * @brief This is the header file for AlbumInfo class.
22 #ifndef _GL_ALBUM_INFO_H_
23 #define _GL_ALBUM_INFO_H_
27 #include <FGraphics.h>
31 : public Tizen::Base::Object
35 virtual ~AlbumInfo(void);
37 result Construct(void);
38 result Construct(const Tizen::Base::String& albumName, Tizen::Content::ContentType contentType ,
39 const Tizen::Base::Collection::IList& directoryList,
40 const Tizen::Base::Collection::IList& contentIdList);
41 result Construct(const AlbumInfo& albumInfo);
43 Tizen::Base::String GetAlbumName(void) const;
44 void SetAlbumName(const Tizen::Base::String& albumName);
45 Tizen::Base::String GetDirectory(int index) const;
46 Tizen::Base::Collection::IList* GetDirectoryListN(void) const;
47 void ClearDirectoryList(void);
48 void AppendDirectory(const Tizen::Base::String& directoryPath);
49 void AppendDirectoryList(const Tizen::Base::Collection::ICollection& directoryList);
50 int GetDirectoryCount(void) const;
53 AlbumInfoType GetAlbumInfoType(void);
55 Tizen::Graphics::Bitmap* GetFolderThumnailBitmap(void);
56 void SetFolderThumnailBitmap(Tizen::Graphics::Bitmap* folderThumnailBitmap);
58 void ClearContentIdList(void);
59 Tizen::Base::Collection::IList* GetContentIdListN(void) const;
60 Tizen::Content::ContentId GetContentId(int index) const;
61 void AppendContentId(const Tizen::Content::ContentId& contentId);
62 void AppendContentIdList(const Tizen::Base::Collection::ICollection& contentIdList);
63 int GetContentIdCount(void) const;
64 result RemoveContentIdAt(int index);
67 Tizen::Base::String __albumName;
68 Tizen::Base::Collection::IList* __pDirectoryFullPathList;
69 Tizen::Base::Collection::IList* __pContentIdList;
70 Tizen::Graphics::Bitmap* __pFolderThumnailBitmap;
73 #endif /* _GL_ALBUM_INFO_H_ */