Apply IActivatedListener for gengrid / genlist.
[profile/tv/apps/native/musicplayer.git] / include / album_info.h
1 /*
2  * Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  * Licensed under the Apache License, Version 2.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
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
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.
15  */
16
17 #ifndef __ALBUM_INFO_H__
18 #define __ALBUM_INFO_H__
19
20 #include <ExtNameInfo.h>
21
22 class CAlbumInfo : public CExtNameInfo {
23 private:
24         struct SAlbumInfo *m;
25
26 public:
27         CAlbumInfo() : m(0) {}
28         virtual ~CAlbumInfo() {}
29
30         bool Create();
31         virtual void Destroy();
32
33         char *Artist();
34         char *Genre();
35         int SongCount();
36         int AlbumId();
37
38         bool SetArtist(const char *artist);
39         bool SetGenre(const char *genre);
40         bool SetSongCount(int songCount);
41         bool SetAlbumId(int albumId);
42
43         bool Duplicate(CNameInfo *obj);
44 };
45
46 #endif /*__ALBUM_INFO_H__*/