- Main Page
- Classes
- Files

- File List

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