LeechCraft Azoth
0.6.70-18450-gabe19ee3b0
Modular multiprotocol IM plugin for LeechCraft
Toggle main menu visibility
Loading...
Searching...
No Matches
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
Definition
activityinfo.h:16
LC::Azoth::operator!=
bool operator!=(const ActivityInfo &i1, const ActivityInfo &i2)
Checks whether the activity info structures are not equal.
Definition
activityinfo.h:66
LC::Azoth::operator==
bool operator==(const ActivityInfo &i1, const ActivityInfo &i2)
Checks whether the activity info structures are equal.
Definition
activityinfo.h:49
LC
Definition
activityinfo.h:14
LC::Azoth::MoodInfo
Describes contact mood information.
Definition
moodinfo.h:23
LC::Azoth::MoodInfo::Text_
QString Text_
Optional contact-set text accompanying the mood.
Definition
moodinfo.h:33
LC::Azoth::MoodInfo::Mood_
QString Mood_
Mood name as per XEP-0107.
Definition
moodinfo.h:29
src
plugins
azoth
interfaces
azoth
moodinfo.h
Generated by
1.17.0