This commit is contained in:
Tim Blume 2021-03-20 22:56:03 +01:00
parent 8b7b40d3ab
commit 600d7146d3
21 changed files with 175 additions and 39 deletions

View file

@ -3,14 +3,6 @@
//major minor patch
#define LITTLESNITCH_VERSION 100
#include <QtCore/QtGlobal>
#if defined(IS_PROXY_LIBRARY)
# define MYSHAREDLIB_EXPORT Q_DECL_EXPORT
#else
# define MYSHAREDLIB_EXPORT Q_DECL_IMPORT
#endif
#include <iostream>
#include <map>
#include <vector>

View file

@ -21,8 +21,11 @@ namespace http {
*/
class ProxyInterface {
public:
// the path the proxy listens on
std::string path;
virtual ~ProxyInterface() = default;
//! returns name of the plugin
virtual QString getName() = 0;
//! returns, whether the proxy is currently connected
virtual bool connected() = 0;
//! disconnects the handle