1
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
3
* unity-webapps-permissions.h
4
* Copyright (C) Canonical LTD 2011
6
* Author: Robert Carr <racarr@canonical.com>
8
unity-webapps is free software: you can redistribute it and/or modify it
9
* under the terms of the GNU Lesser General Public License as published
10
* by the Free Software Foundation, either version 3 of the License, or
11
* (at your option) any later version.
13
* unity-webapps is distributed in the hope that it will be useful, but
14
* WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16
* See the GNU Lesser General Public License for more details.
18
* You should have received a copy of the GNU Lesser General Public License
19
* along with this program. If not, see <http://www.gnu.org/licenses/>.";
22
#ifndef __UNITY_WEBAPPS_PERMISSIONS_H
23
#define __UNITY_WEBAPPS_PERMISSIONS_H
25
#include "unity-webapps-context.h"
27
gboolean unity_webapps_permissions_get_domain_allowed (const gchar *domain);
28
void unity_webapps_permissions_allow_domain (const gchar *domain);
30
gboolean unity_webapps_permissions_get_domain_dontask (const gchar *domain);
31
void unity_webapps_permissions_dontask_domain (const gchar *domain);