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 StWallpaperAlbumInfo.h
19 * @brief This is the header file for WallpaperAlbumInfo class.
22 #ifndef _ST_WALLPAPER_ALBUM_INFO_H_
23 #define _ST_WALLPAPER_ALBUM_INFO_H_
26 #include <FGraphics.h>
30 : public Tizen::Base::Object
34 virtual ~AlbumInfo(void);
36 result Construct(void);
37 result Construct(const Tizen::Base::String& albumName, Tizen::Content::ContentType contentType ,
38 const Tizen::Base::Collection::IList& directoryList,
39 const Tizen::Base::Collection::IList& contentIdList);
40 result Construct(const AlbumInfo& albumInfo);
42 Tizen::Base::String GetAlbumName(void) const;
43 void SetAlbumName(const Tizen::Base::String& albumName);
44 Tizen::Base::String GetDirectory(int index) const;
45 Tizen::Base::Collection::IList* GetDirectoryListN(void) const;
46 void ClearDirectoryList(void);
47 void AppendDirectory(const Tizen::Base::String& directoryPath);
48 void AppendDirectoryList(const Tizen::Base::Collection::ICollection& directoryList);
49 int GetDirectoryCount(void) const;
51 void ClearContentIdList(void);
52 Tizen::Base::Collection::IList* GetContentIdListN(void) const;
53 Tizen::Content::ContentId GetContentId(int index) const;
54 void AppendContentIdList(const Tizen::Base::Collection::ICollection& contentIdList);
55 int GetContentIdCount(void) const;
57 Tizen::Base::String GetCreateDateString(void) const;
58 void SetCreateDateString(Tizen::Base::String& strMinimumDate, Tizen::Base::String& strMaximumDate);
61 Tizen::Base::String __albumName;
62 Tizen::Base::Collection::IList* __pDirectoryFullPathList;
63 Tizen::Base::Collection::IList* __pContentIdList;
64 Tizen::Base::String __createFileDateString;
67 #endif // _ST_WALLPAPER_ALBUM_INFO_H_