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