mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-30 11:24:24 -04:00
added serialisation methods and tests for grouter
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6959 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
2c19810e37
commit
03bd9dbef4
5 changed files with 269 additions and 18 deletions
50
libretroshare/src/tests/serialiser/rsgrouteritem_test.h
Normal file
50
libretroshare/src/tests/serialiser/rsgrouteritem_test.h
Normal file
|
@ -0,0 +1,50 @@
|
|||
#ifndef MSGITEM_TEST_H_
|
||||
#define MSGITEM_TEST_H_
|
||||
|
||||
/*
|
||||
* libretroshare/src/tests/serialiser: msgitem_test.cc
|
||||
*
|
||||
* RetroShare Serialiser.
|
||||
*
|
||||
* Copyright 2010 by Christopher Evi-Parker.
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Library General Public
|
||||
* License Version 2 as published by the Free Software Foundation.
|
||||
*
|
||||
* This library 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
|
||||
* Library General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Library General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA.
|
||||
*
|
||||
* Please report all bugs and problems to "retroshare@lunamutt.com".
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
#include <iostream>
|
||||
#include "serialiser/rsmsgitems.h"
|
||||
|
||||
|
||||
RsSerialType* init_item(RsChatMsgItem& );
|
||||
RsSerialType* init_item(RsChatStatusItem& );
|
||||
RsSerialType* init_item(RsChatAvatarItem& );
|
||||
RsSerialType* init_item(RsMsgItem& );
|
||||
RsSerialType* init_item(RsMsgTagType& );
|
||||
RsSerialType* init_item(RsMsgTags& );
|
||||
RsSerialType* init_item(RsMsgSrcId& );
|
||||
|
||||
bool operator ==(const RsChatMsgItem& ,const RsChatMsgItem& );
|
||||
bool operator ==(const RsChatStatusItem& , const RsChatStatusItem& );
|
||||
bool operator ==(const RsChatAvatarItem&, const RsChatAvatarItem& );
|
||||
bool operator ==(const RsMsgTagType&, const RsMsgTagType& );
|
||||
bool operator ==(const RsMsgTags&, const RsMsgTags& );
|
||||
bool operator ==(const RsMsgItem&, const RsMsgItem& );
|
||||
bool operator ==(const RsMsgSrcId&, const RsMsgSrcId& );
|
||||
|
||||
#endif /* MSGITEM_TEST_H_ */
|
Loading…
Add table
Add a link
Reference in a new issue