demux: adaptive: fix comment
[vlc.git] / modules / demux / adaptive / tools / Properties.hpp
blob305a10803072c90f181855f45152aa0ba7d5800a
1 /*
2 * Properties.hpp
3 *****************************************************************************
4 * Copyright (C) 2014 - VideoLAN and VLC Authors
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU Lesser General Public License as published
8 * by the Free Software Foundation; either version 2.1 of the License, or
9 * (at your option) any later version.
11 * This program 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
14 * GNU Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public License
17 * along with this program; if not, write to the Free Software Foundation,
18 * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
19 *****************************************************************************/
20 #ifndef PROPERTIES_HPP
21 #define PROPERTIES_HPP
23 template <typename T> class Property
25 public:
26 Property() {}
28 T & Set(const T &i)
30 return value = i;
33 T const & Get() const
35 return value;
38 private:
39 T value;
42 #endif // PROPERTIES_HPP