00001 /* 00002 * This file is part of signon 00003 * 00004 * Copyright (C) 2011 Nokia Corporation. 00005 * Copyright (C) 2012-2016 Canonical Ltd. 00006 * 00007 * Contact: Alberto Mardegan <alberto.mardegan@canonical.com> 00008 * 00009 * This library is free software; you can redistribute it and/or 00010 * modify it under the terms of the GNU Lesser General Public License 00011 * version 2.1 as published by the Free Software Foundation. 00012 * 00013 * This library is distributed in the hope that it will be useful, but 00014 * WITHOUT ANY WARRANTY; without even the implied warranty of 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00016 * Lesser General Public License for more details. 00017 * 00018 * You should have received a copy of the GNU Lesser General Public 00019 * License along with this library; if not, write to the Free Software 00020 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 00021 * 02110-1301 USA 00022 */ 00028 #ifndef SIGNON_PLUGINS_COMMON_IPC_H 00029 #define SIGNON_PLUGINS_COMMON_IPC_H 00030 00031 enum PluginOperation { 00032 PLUGIN_OP_TYPE = 1, 00033 PLUGIN_OP_MECHANISMS, 00034 PLUGIN_OP_PROCESS, 00035 PLUGIN_OP_PROCESS_UI, 00036 PLUGIN_OP_REFRESH, 00037 PLUGIN_OP_CANCEL, 00038 PLUGIN_OP_STOP, 00039 PLUGIN_OP_LAST 00040 }; 00041 00042 enum PluginResponse { 00043 PLUGIN_RESPONSE_RESULT = 1, 00044 PLUGIN_RESPONSE_STORE, 00045 PLUGIN_RESPONSE_ERROR, 00046 PLUGIN_RESPONSE_SIGNAL, 00047 PLUGIN_RESPONSE_UI, 00048 PLUGIN_RESPONSE_REFRESHED, 00049 PLUGIN_RESPONSE_LAST 00050 }; 00051 00052 #endif // SIGNON_PLUGINS_COMMON_IPC_H