aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/aopacket.h3
-rw-r--r--include/courtroom.h3
2 files changed, 3 insertions, 3 deletions
diff --git a/include/aopacket.h b/include/aopacket.h
index e636998..6d1deba 100644
--- a/include/aopacket.h
+++ b/include/aopacket.h
@@ -8,8 +8,7 @@
class AOPacket {
public:
AOPacket(QString p_packet_string);
- AOPacket(QString header, QStringList &p_contents);
- ~AOPacket();
+ AOPacket(QString header, QStringList &p_contents) : m_header(header), m_contents(p_contents){}
QString get_header() { return m_header; }
QStringList &get_contents() { return m_contents; }
diff --git a/include/courtroom.h b/include/courtroom.h
index f05b15a..eb33fd8 100644
--- a/include/courtroom.h
+++ b/include/courtroom.h
@@ -58,6 +58,7 @@
#include <QTextCharFormat>
//#include <QRandomGenerator>
+#include <algorithm>
#include <stack>
class AOApplication;
@@ -225,7 +226,7 @@ public:
// selected
// or the user isn't already scrolled to the top
void append_ic_text(QString p_text, QString p_name = "", QString action = "",
- int color = 0);
+ int color = 0, QDateTime timestamp = QDateTime::currentDateTime());
// prints who played the song to IC chat and plays said song(if found on local
// filesystem) takes in a list where the first element is the song name and