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