michael@0: /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* vim: set ts=2 et sw=2 tw=80: */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef mozilla_plugins_PluginHangUI_h michael@0: #define mozilla_plugins_PluginHangUI_h michael@0: michael@0: namespace mozilla { michael@0: namespace plugins { michael@0: michael@0: enum HangUIUserResponse michael@0: { michael@0: HANGUI_USER_RESPONSE_CANCEL = 1, michael@0: HANGUI_USER_RESPONSE_CONTINUE = 2, michael@0: HANGUI_USER_RESPONSE_STOP = 4, michael@0: HANGUI_USER_RESPONSE_DONT_SHOW_AGAIN = 8 michael@0: }; michael@0: michael@0: enum PluginHangUIStructID michael@0: { michael@0: PLUGIN_HANGUI_COMMAND = 0x10, michael@0: PLUGIN_HANGUI_RESULT michael@0: }; michael@0: michael@0: struct PluginHangUICommand michael@0: { michael@0: enum michael@0: { michael@0: identifier = PLUGIN_HANGUI_COMMAND michael@0: }; michael@0: enum CmdCode michael@0: { michael@0: HANGUI_CMD_SHOW = 1, michael@0: HANGUI_CMD_CANCEL = 2 michael@0: }; michael@0: CmdCode mCode; michael@0: }; michael@0: michael@0: struct PluginHangUIResponse michael@0: { michael@0: enum michael@0: { michael@0: identifier = PLUGIN_HANGUI_RESULT michael@0: }; michael@0: unsigned int mResponseBits; michael@0: }; michael@0: michael@0: } // namespace plugins michael@0: } // namespace mozilla michael@0: michael@0: #endif // mozilla_plugins_PluginHangUI_h michael@0: