RetroShare/retroshare-gui/src/gui/common/GroupDefs.h
Phenom 8904f732bd Fix Warnings for 'RsGroupInfo' defined as a struct here but previously
declared as a class

In file included from ../../../trunk/retroshare-gui/src/gui/
RemoteDirModel.cpp:30:
../../../trunk/libretroshare/src/retroshare/rspeers.h:339:1: warning:
'RsGroupInfo' defined as a struct here but previously declared as a class
[-Wmismatched-tags]
struct RsGroupInfo : RsSerializable
^
../../../trunk/retroshare-gui/src/gui/common/GroupDefs.h:24:1: note: did
you mean struct here?
class RsGroupInfo;
^~~~~
struct
2019-02-14 23:42:17 +01:00

36 lines
1.7 KiB
C++

/*******************************************************************************
* gui/common/GroupDefs.h *
* *
* Copyright (C) 2010, Retroshare Team <retroshare.project@gmail.com> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero 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 Affero General Public License for more details. *
* *
* You should have received a copy of the GNU Affero General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
*******************************************************************************/
#ifndef _GROUPDEFS_H
#define _GROUPDEFS_H
struct RsGroupInfo;
class GroupDefs
{
public:
static const QString name(const RsGroupInfo &groupInfo);
static void sortByName(std::list<RsGroupInfo> &groupInfoList);
};
#endif