~khurshid-alam/unity-settings-daemon/accountservice-background-fix

« back to all changes in this revision

Viewing changes to plugins/sharing/gsd-sharing-enums.h

  • Committer: Khurshid Alam
  • Date: 2018-02-21 21:19:43 UTC
  • Revision ID: khurshid.alam@linuxmail.org-20180221211943-8splu6z7l2mng1j1
Add sharing plugin

we are importing sharing panel from gnome-control-center as the old screen-sharing panel does not work anymore due to a gsettings key removal from vino. Our new sharing panel will use this plugin. This plugin is a direct port from gnome-settings-daemon 3.22.

https://bugzilla.gnome.org/show_bug.cgi?id=731726

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
 
2
 *
 
3
 * Copyright (C) 2014 Bastien Nocera <hadess@hadess.net>
 
4
 *
 
5
 * This program is free software; you can redistribute it and/or modify
 
6
 * it under the terms of the GNU General Public License as published by
 
7
 * the Free Software Foundation; either version 2 of the License, or
 
8
 * (at your option) any later version.
 
9
 *
 
10
 * This program is distributed in the hope that it will be useful,
 
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13
 * GNU General Public License for more details.
 
14
 *
 
15
 * You should have received a copy of the GNU General Public License
 
16
 * along with this program; if not, see <http://www.gnu.org/licenses/>.
 
17
 *
 
18
 */
 
19
 
 
20
#ifndef __GSD_SHARING_ENUMS_H
 
21
#define __GSD_SHARING_ENUMS_H
 
22
 
 
23
G_BEGIN_DECLS
 
24
 
 
25
typedef enum {
 
26
       GSD_SHARING_STATUS_OFFLINE,
 
27
       GSD_SHARING_STATUS_DISABLED_MOBILE_BROADBAND,
 
28
       GSD_SHARING_STATUS_DISABLED_LOW_SECURITY,
 
29
       GSD_SHARING_STATUS_AVAILABLE
 
30
} GsdSharingStatus;
 
31
 
 
32
G_END_DECLS
 
33
 
 
34
#endif /* __GSD_SHARING_ENUMS_H */