~ci-train-bot/unity/unity-ubuntu-yakkety-2192

« back to all changes in this revision

Viewing changes to plugins/unityshell/src/unity-text-input-accessible.h

  • Committer: CI bot
  • Author(s): Andrea Azzarone
  • Date: 2014-03-11 18:36:57 UTC
  • mfrom: (3566.5.457 unity)
  • Revision ID: ps-jenkins@lists.canonical.com-20140311183657-b3haqqvvr2ctp9u9
Implement the lockscreen in Unity that looks like unity-greeter. Also allow to fallback to lightdm + greeter (tty switching) in case you need more pam power. Fixes: 878836, 1266464, 1282798

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (C) 2014 Canonical Ltd
 
3
 *
 
4
 * This program is free software: you can redistribute it and/or modify
 
5
 * it under the terms of the GNU General Public License version 3 as
 
6
 * published by the Free Software Foundation.
 
7
 *
 
8
 * This program is distributed in the hope that it will be useful,
 
9
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
10
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
11
 * GNU General Public License for more details.
 
12
 *
 
13
 * You should have received a copy of the GNU General Public License
 
14
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
15
 *
 
16
 * Authored by: Andrea Azzarone <andrea.azzarone@canonical.com>
 
17
 */
 
18
 
 
19
#ifndef UNITY_TEXT_INPUT_ACCESSIBLE_H
 
20
#define UNITY_TEXT_INPUT_ACCESSIBLE_H
 
21
 
 
22
#include <atk/atk.h>
 
23
 
 
24
#include "nux-view-accessible.h"
 
25
 
 
26
G_BEGIN_DECLS
 
27
 
 
28
#define UNITY_TYPE_TEXT_INPUT_ACCESSIBLE            (unity_text_input_accessible_get_type ())
 
29
#define UNITY_TEXT_INPUT_ACCESSIBLE(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_TYPE_TEXT_INPUT_ACCESSIBLE, UnityTextInputAccessible))
 
30
#define UNITY_TEXT_INPUT_ACCESSIBLE_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_TYPE_TEXT_INPUT_ACCESSIBLE, UnityTextInputAccessibleClass))
 
31
#define UNITY_IS_TEXT_INPUT_ACCESSIBLE(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_TYPE_TEXT_INPUT_ACCESSIBLE))
 
32
#define UNITY_IS_TEXT_INPUT_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_TYPE_TEXT_INPUT_ACCESSIBLE))
 
33
#define UNITY_TEXT_INPUT_ACCESSIBLE_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_TYPE_TEXT_INPUT_ACCESSIBLE, UnityTextInputAccessibleClass))
 
34
 
 
35
typedef struct _UnityTextInputAccessible          UnityTextInputAccessible;
 
36
typedef struct _UnityTextInputAccessibleClass     UnityTextInputAccessibleClass;
 
37
typedef struct _UnityTextInputAccessiblePrivate   UnityTextInputAccessiblePrivate;
 
38
 
 
39
struct _UnityTextInputAccessible
 
40
{
 
41
  NuxViewAccessible parent;
 
42
 
 
43
  /*< private >*/
 
44
  UnityTextInputAccessiblePrivate* priv;
 
45
};
 
46
 
 
47
struct _UnityTextInputAccessibleClass
 
48
{
 
49
  NuxViewAccessibleClass parent_class;
 
50
};
 
51
 
 
52
GType      unity_text_input_accessible_get_type(void);
 
53
AtkObject* unity_text_input_accessible_new(nux::Object* object);
 
54
 
 
55
G_END_DECLS
 
56
 
 
57
#endif