My Project: signon-plugins-common/SignOn/ipc.h Source File

My Project

ipc.h
1/*
2 * This file is part of signon
3 *
4 * Copyright (C) 2011 Nokia Corporation.
5 * Copyright (C) 2012-2016 Canonical Ltd.
6 *
7 * Contact: Alberto Mardegan <alberto.mardegan@canonical.com>
8 *
9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Lesser General Public License
11 * version 2.1 as published by the Free Software Foundation.
12 *
13 * This library 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. See the GNU
16 * Lesser General Public License for more details.
17 *
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
21 * 02110-1301 USA
22 */
28#ifndef SIGNON_PLUGINS_COMMON_IPC_H
29#define SIGNON_PLUGINS_COMMON_IPC_H
30
31enum PluginOperation {
32 PLUGIN_OP_TYPE = 1,
33 PLUGIN_OP_MECHANISMS,
34 PLUGIN_OP_PROCESS,
35 PLUGIN_OP_PROCESS_UI,
36 PLUGIN_OP_REFRESH,
37 PLUGIN_OP_CANCEL,
38 PLUGIN_OP_STOP,
39 PLUGIN_OP_LAST
40};
41
42enum PluginResponse {
43 PLUGIN_RESPONSE_RESULT = 1,
44 PLUGIN_RESPONSE_STORE,
45 PLUGIN_RESPONSE_ERROR,
46 PLUGIN_RESPONSE_SIGNAL,
47 PLUGIN_RESPONSE_UI,
48 PLUGIN_RESPONSE_REFRESHED,
49 PLUGIN_RESPONSE_LAST
50};
51
52#endif // SIGNON_PLUGINS_COMMON_IPC_H