diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-10-31 00:10:19 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-10-31 00:10:19 (EDT) |
commit | fe090fd4e131861c6b1ad5c7d677b95bf82b2ee9 (patch) | |
tree | a2a3a3daeacca3d50d9d4f9b14278831f3208adf /src/view-source.h | |
parent | c29fc2bad3f973b3a80eb156b1d405c1de56d1ff (diff) | |
download | marquee-fe090fd4e131861c6b1ad5c7d677b95bf82b2ee9.zip marquee-fe090fd4e131861c6b1ad5c7d677b95bf82b2ee9.tar.gz marquee-fe090fd4e131861c6b1ad5c7d677b95bf82b2ee9.tar.bz2 |
src/view-source.[ch]: New files
Diffstat (limited to 'src/view-source.h')
-rw-r--r-- | src/view-source.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/view-source.h b/src/view-source.h new file mode 100644 index 0000000..ba50d3d --- /dev/null +++ b/src/view-source.h @@ -0,0 +1,34 @@ +/* + * view-source: URI scheme + * + * Copyright (C) 2017 Patrick McDermott + * + * This file is part of Marquee. + * + * Marquee is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Marquee is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Marquee. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef MQ_VIEW_SOURCE_H +#define MQ_VIEW_SOURCE_H + +#include <glib.h> +#include <webkit2/webkit2.h> + +#include "application.h" + +void +mq_view_source_request(WebKitURISchemeRequest *request, + MqApplication *application); + +#endif /* MQ_VIEW_SOURCE_H */ |