X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=libeap%2Fwpa_supplicant%2Fwpa_gui-qt4%2Fwpamsg.h;fp=libeap%2Fwpa_supplicant%2Fwpa_gui-qt4%2Fwpamsg.h;h=0000000000000000000000000000000000000000;hb=a7df36f97a1fb71de656c752100dd0389dfb8226;hp=4950b213a2e3d429c3d3ae74d6b75b4de85ad8ab;hpb=28dcddb8f970a440e1494cdbbd9c271dbf8853ce;p=mech_eap.git diff --git a/libeap/wpa_supplicant/wpa_gui-qt4/wpamsg.h b/libeap/wpa_supplicant/wpa_gui-qt4/wpamsg.h deleted file mode 100644 index 4950b21..0000000 --- a/libeap/wpa_supplicant/wpa_gui-qt4/wpamsg.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * wpa_gui - WpaMsg class for storing event messages - * Copyright (c) 2005-2006, Jouni Malinen - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - * - * Alternatively, this software may be distributed under the terms of BSD - * license. - * - * See README and COPYING for more details. - */ - -#ifndef WPAMSG_H -#define WPAMSG_H - -#include -#include - -class WpaMsg { -public: - WpaMsg(const QString &_msg, int _priority = 2) - : msg(_msg), priority(_priority) - { - timestamp = QDateTime::currentDateTime(); - } - - QString getMsg() const { return msg; } - int getPriority() const { return priority; } - QDateTime getTimestamp() const { return timestamp; } - -private: - QString msg; - int priority; - QDateTime timestamp; -}; - -typedef QLinkedList WpaMsgList; - -#endif /* WPAMSG_H */