LeechCraft  0.6.70-15082-g543737046d
Modular cross-platform feature rich live environment.
structuresops.h
Go to the documentation of this file.
1 /**********************************************************************
2  * LeechCraft - modular cross-platform feature rich internet client.
3  * Copyright (C) 2006-2014 Georg Rudoy
4  *
5  * Distributed under the Boost Software License, Version 1.0.
6  * (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE_1_0.txt)
7  **********************************************************************/
8 
9 #ifndef UTIL_STRUCTURESOPS_H
10 #define UTIL_STRUCTURESOPS_H
11 #include <QDataStream>
12 #include "../interfaces/structures.h"
13 #include "utilconfig.h"
14 
15 UTIL_API QDataStream& operator<< (QDataStream& out, const LC::Entity& e);
16 UTIL_API QDataStream& operator>> (QDataStream& in, LC::Entity& e);
17 
18 namespace LC
19 {
20  UTIL_API bool operator< (const LC::Entity&, const LC::Entity&);
21  UTIL_API bool operator== (const LC::Entity&, const LC::Entity&);
22 }
23 
24 #endif
25 
LC::Entity
A message used for inter-plugin communication.
Definition: structures.h:95
utilconfig.h
operator<<
UTIL_API QDataStream & operator<<(QDataStream &out, const LC::Entity &e)
Definition: structuresops.cpp:12
UTIL_API
#define UTIL_API
Definition: utilconfig.h:16
operator>>
UTIL_API QDataStream & operator>>(QDataStream &in, LC::Entity &e)
Definition: structuresops.cpp:24
LC
Definition: constants.h:14
LC::operator==
bool operator==(const LC::Entity &e1, const LC::Entity &e2)
Definition: structuresops.cpp:117
LC::operator<
bool operator<(const LC::Entity &e1, const LC::Entity &e2)
Definition: structuresops.cpp:110