]>
git.ipfire.org Git - thirdparty/hostap.git/blob - wpa_supplicant/wpa_gui-qt4/wpamsg.h
2 * wpa_gui - WpaMsg class for storing event messages
3 * Copyright (c) 2005-2006, Jouni Malinen <j@w1.fi>
5 * This software may be distributed under the terms of the BSD license.
6 * See README for more details.
13 #include <QLinkedList>
17 WpaMsg(const QString
&_msg
, int _priority
= 2)
18 : msg(_msg
), priority(_priority
)
20 timestamp
= QDateTime::currentDateTime();
23 QString
getMsg() const { return msg
; }
24 int getPriority() const { return priority
; }
25 QDateTime
getTimestamp() const { return timestamp
; }
33 typedef QLinkedList
<WpaMsg
> WpaMsgList
;