~abreu-alexandre/libunity-webapps/bump-2.4.4-fix-distcheck

« back to all changes in this revision

Viewing changes to src/unity-webapps-permissions.h

  • Committer: Robert Carr
  • Date: 2012-02-04 06:17:39 UTC
  • mfrom: (503.1.2 build-system-fixes)
  • Revision ID: racarr@canonical.com-20120204061739-9ws9mbfc1n78f1kw
MergeĀ lp:~robertcarr/libunity-webapps/build-system-fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
2
 
/*
3
 
 * unity-webapps-permissions.h
4
 
 * Copyright (C) Canonical LTD 2011
5
 
 * 
6
 
 * Author: Robert Carr <racarr@canonical.com>
7
 
 * 
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.
12
 
 * 
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.
17
 
 * 
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/>.";
20
 
 */
21
 
 
22
 
#ifndef __UNITY_WEBAPPS_PERMISSIONS_H
23
 
#define __UNITY_WEBAPPS_PERMISSIONS_H
24
 
 
25
 
#include "unity-webapps-context.h"
26
 
 
27
 
gboolean unity_webapps_permissions_get_domain_allowed (const gchar *domain);
28
 
void unity_webapps_permissions_allow_domain (const gchar *domain);
29
 
 
30
 
gboolean unity_webapps_permissions_get_domain_dontask (const gchar *domain);
31
 
void unity_webapps_permissions_dontask_domain (const gchar *domain);
32
 
 
33
 
#endif