mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-15 17:37:12 -05:00
35 lines
1.9 KiB
C++
35 lines
1.9 KiB
C++
/*******************************************************************************
|
|
* libretroshare/src/serialiser: rstlvmaps.h *
|
|
* *
|
|
* libretroshare: retroshare core library *
|
|
* *
|
|
* Copyright 2014 by Robert Fernie <retroshare@lunamutt.com> *
|
|
* *
|
|
* This program is free software: you can redistribute it and/or modify *
|
|
* it under the terms of the GNU Lesser General Public License as *
|
|
* published by the Free Software Foundation, either version 3 of the *
|
|
* License, or (at your option) any later version. *
|
|
* *
|
|
* This program is distributed in the hope that it will be useful, *
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
|
* GNU Lesser General Public License for more details. *
|
|
* *
|
|
* You should have received a copy of the GNU Lesser General Public License *
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
|
|
* *
|
|
*******************************************************************************/
|
|
#ifndef RS_TLV_MAPS_H
|
|
#define RS_TLV_MAPS_H
|
|
|
|
class RsTlvOpinionMapRef: public RsTlvGenericMapRef<std::string, uint32_t>
|
|
{
|
|
public:
|
|
RsTlvOpinionMapRef(std::map<std::string, uint32_t> &refmap)
|
|
:RsTlvGenericMapRef(OPINION, STRING_INT_PAIR, refmap) { return; }
|
|
};
|
|
|
|
|
|
#endif
|
|
|