Overte C++ Documentation
AbstractUriHandler.h
1 //
2 // Created by Bradley Austin Davis on 2015/12/17
3 // Copyright 2013-2015 High Fidelity, Inc.
4 //
5 // Distributed under the Apache License, Version 2.0.
6 // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
7 //
8 
9 #pragma once
10 #ifndef hifi_network_AbstractUriHandler_h
11 #define hifi_network_AbstractUriHandler_h
12 
13 class AbstractUriHandler {
14 public:
15  virtual bool canAcceptURL(const QString& url) const = 0;
16  virtual bool acceptURL(const QString& url, bool defaultUpload = false) = 0;
17 };
18 
19 #endif