LeechCraft Azoth
0.6.70-15082-g543737046d
Modular multiprotocol IM plugin for LeechCraft
moodinfo.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
#pragma once
10
11
#include <QString>
12
13
namespace
LC
14
{
15
namespace
Azoth
16
{
22
struct
MoodInfo
23
{
29
QString
Mood_
;
30
33
QString
Text_
;
34
};
35
45
inline
bool
operator==
(
const
MoodInfo
& i1,
const
MoodInfo
& i2)
46
{
47
return
i1.Mood_ == i2.Mood_ &&
48
i1.Text_ == i2.Text_;
49
}
50
61
inline
bool
operator!=
(
const
MoodInfo
& i1,
const
MoodInfo
& i2)
62
{
63
return
!(i1 == i2);
64
}
65
}
66
}
LC::Azoth::MoodInfo::Text_
QString Text_
Optional contact-set text accompanying the mood.
Definition:
moodinfo.h:51
LC::Azoth::MoodInfo::Mood_
QString Mood_
Mood name as per XEP-0107.
Definition:
moodinfo.h:47
LC::Azoth::operator==
bool operator==(const ActivityInfo &i1, const ActivityInfo &i2)
Checks whether the activity info structures are equal.
Definition:
activityinfo.h:61
LC
Definition:
activityinfo.h:13
LC::Azoth::MoodInfo
Describes contact mood information.
Definition:
moodinfo.h:34
LC::Azoth::operator!=
bool operator!=(const ActivityInfo &i1, const ActivityInfo &i2)
Checks whether the activity info structures are not equal.
Definition:
activityinfo.h:78
src
plugins
azoth
interfaces
azoth
moodinfo.h
Generated by
1.8.17