| 1 |
/* |
| 2 |
* Copyright (C) 2013-2015, 2019 by the Konclude Developer Team. |
| 3 |
* |
| 4 |
* This file is part of the reasoning system Konclude. |
| 5 |
* For details and support, see <http://konclude.com/>. |
| 6 |
* |
| 7 |
* Konclude is free software: you can redistribute it and/or modify |
| 8 |
* it under the terms of version 3 of the GNU Lesser General Public |
| 9 |
* License (LGPLv3) as published by the Free Software Foundation. |
| 10 |
* |
| 11 |
* Konclude is distributed in the hope that it will be useful, |
| 12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 |
* GNU (Lesser) General Public License for more details. |
| 15 |
* |
| 16 |
* You should have received a copy of the GNU (Lesser) General Public |
| 17 |
* License along with Konclude. If not, see <http://www.gnu.org/licenses/>. |
| 18 |
* |
| 19 |
*/ |
| 20 |
|
| 21 |
#ifndef KONCLUDE_NETWORK_HTTP_HTTPSETTINGS |
| 22 |
#define KONCLUDE_NETWORK_HTTP_HTTPSETTINGS |
| 23 |
|
| 24 |
// Library includes |
| 25 |
#include <QEvent> |
| 26 |
|
| 27 |
// Namespace includes |
| 28 |
|
| 29 |
|
| 30 |
// Other includes |
| 31 |
#include "Network/NetworkSettings.h" |
| 32 |
|
| 33 |
// Logger includes |
| 34 |
|
| 35 |
|
| 36 |
namespace Konclude { |
| 37 |
|
| 38 |
namespace Network { |
| 39 |
|
| 40 |
namespace HTTP { |
| 41 |
|
| 42 |
|
| 43 |
/*! |
| 44 |
* |
| 45 |
* \file HTTPSettings |
| 46 |
* \author Andreas Steigmiller |
| 47 |
* \version 0.1 |
| 48 |
* \brief TODO |
| 49 |
* |
| 50 |
*/ |
| 51 |
|
| 52 |
// Custom Events >= 2000 |
| 53 |
const QEvent::Type EVENTHTTPREQUEST = (QEvent::Type)3000; |
| 54 |
const QEvent::Type EVENTREPLYFINISHED = (QEvent::Type)3001; |
| 55 |
const QEvent::Type EVENTERACTRESPONSEDATA = (QEvent::Type)3002; |
| 56 |
const QEvent::Type EVENTEXTRACTDATACALLBACK = (QEvent::Type)3003; |
| 57 |
const QEvent::Type EVENTRELEASERESPONSE = (QEvent::Type)3004; |
| 58 |
const QEvent::Type EVENTINSTALLREQUESTFINISHEDCALLBACK = (QEvent::Type)3005; |
| 59 |
const QEvent::Type EVENTHANDLEINCOMINGHTTPCONNECTION = (QEvent::Type)3006; |
| 60 |
const QEvent::Type EVENTCONNECTIONREADYREAD = (QEvent::Type)3007; |
| 61 |
const QEvent::Type EVENTCONNECTIONDISCONNECTED = (QEvent::Type)3008; |
| 62 |
const QEvent::Type EVENTADDRESPONSEFINISHEDTEXT = (QEvent::Type)3009; |
| 63 |
const QEvent::Type EVENTRESPONSEFINISHEDCALLBACK = (QEvent::Type)3010; |
| 64 |
const QEvent::Type EVENTABORTREQUEST = (QEvent::Type)3011; |
| 65 |
|
| 66 |
// forward declarations |
| 67 |
|
| 68 |
// Konclude code configs |
| 69 |
|
| 70 |
|
| 71 |
}; // end namespace HTTP |
| 72 |
|
| 73 |
}; // end namespace Network |
| 74 |
|
| 75 |
}; // end namespace Konclude |
| 76 |
|
| 77 |
|
| 78 |
#endif // end KONCLUDE_NETWORK_HTTP_HTTPSETTINGS |