libmusicbrainz3  3.0.2
tag.h
Go to the documentation of this file.
1 /*
2  * MusicBrainz -- The Internet music metadatabase
3  *
4  * Copyright (C) 2007 Lukas Lalinsky
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19  *
20  * $Id: tag.h 9216 2007-06-25 19:42:20Z luks $
21  */
22 
23 #ifndef __MUSICBRAINZ3_TAG_H__
24 #define __MUSICBRAINZ3_TAG_H__
25 
26 #include <string>
28 
29 namespace MusicBrainz
30 {
31 
35  class MB_API Tag
36  {
37  public:
38 
45  Tag(const std::string &name = std::string(), int count = 0);
46 
50  virtual ~Tag();
51 
52  std::string getName() const;
53  void setName(const std::string &name);
54 
55  int getCount() const;
56  void setCount(const int count);
57 
58  private:
59 
60  class TagPrivate;
61  TagPrivate *d;
62  };
63 
64 }
65 
66 #endif
67 
Definition: tag.h:35
Definition: artist.h:32
#define MB_API
Definition: defines.h:40