libmusicbrainz3  3.0.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
releaseevent.h
Go to the documentation of this file.
1 /*
2  * MusicBrainz -- The Internet music metadatabase
3  *
4  * Copyright (C) 2006 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  *
21  */
22 
23 #ifndef __MUSICBRAINZ3_RELEASEEVENT_H__
24 #define __MUSICBRAINZ3_RELEASEEVENT_H__
25 
26 #include <string>
28 
29 namespace MusicBrainz
30 {
31 
40  {
41  public:
42 
49  ReleaseEvent(const std::string &country = std::string(),
50  const std::string &dateStr = std::string());
51 
55  virtual ~ReleaseEvent();
56 
68  std::string getCountry() const;
69 
75  void setCountry(const std::string &country);
76 
82  std::string getDate() const;
83 
89  void setDate(const std::string &dateStr);
90 
91  void setCatalogNumber(const std::string &catalogNumber);
92  std::string getCatalogNumber() const;
93 
94  void setBarcode(const std::string &barcode);
95  std::string getBarcode() const;
96 
97  void setLabel(Label *label);
98  Label *getLabel();
99 
100  private:
101 
102  class ReleaseEventPrivate;
103  ReleaseEventPrivate *d;
104  };
105 
106 }
107 
108 #endif
109 
Represents a record label.
Definition: label.h:38
A release event, indicating where and when a release took place.
Definition: releaseevent.h:39
#define MB_API
Definition: defines.h:40