michael@0: /* -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 8 -*- */ 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: include protocol PPluginModule; michael@0: michael@0: namespace mozilla { michael@0: namespace plugins { michael@0: michael@0: /** michael@0: * Represents an NPIdentifier that wraps either a string or an integer. michael@0: */ michael@0: async protocol PPluginIdentifier michael@0: { michael@0: manager PPluginModule; michael@0: michael@0: parent: michael@0: /** michael@0: * If this is a temporary identifier, inform the parent that the plugin michael@0: * has made the identifier permanent by calling NPN_GetStringIdentifier. michael@0: */ michael@0: async Retain(); michael@0: michael@0: child: michael@0: async __delete__(); michael@0: }; michael@0: michael@0: } // namespace plugins michael@0: } // namespace mozilla