atrooney-online-2/include/chatlogpiece.h
oldmud0 156a760eba Full revert to tag 2.6.2
Due to a countless number of changes made to the core that were not
fully understood, tested, or documented, it was decided to roll
everything back to the last known stable version (2.6.2).

Changes dropped include:
 - Witness needed
 - Shake
 - Frame SFX
 - Multiple custom objections
 - Multithreaded thumbnail generation
 - Looping
 - Various translation additions
 - "Mirror IC"
 - Color in IC log
 - An invocation of clang-format

Next time, work together and split your big fork into independently
testable feature branches.
2020-05-22 17:02:32 -05:00

32 lines
640 B
C++

#ifndef CHATLOGPIECE_H
#define CHATLOGPIECE_H
#include <QString>
#include <QDateTime>
class chatlogpiece
{
public:
chatlogpiece();
chatlogpiece(QString p_name, QString p_showname, QString p_message, bool p_song);
chatlogpiece(QString p_name, QString p_showname, QString p_message, bool p_song, QDateTime p_datetime);
QString get_name();
QString get_showname();
QString get_message();
bool get_is_song();
QDateTime get_datetime();
QString get_datetime_as_string();
QString get_full();
private:
QString name;
QString showname;
QString message;
QDateTime datetime;
bool is_song;
};
#endif // CHATLOGPIECE_H