michael@0: /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 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: var SubscribeHandler = { michael@0: /** michael@0: * The nsIFeedWriter object that produces the UI michael@0: */ michael@0: _feedWriter: null, michael@0: michael@0: init: function SH_init() { michael@0: this._feedWriter = new BrowserFeedWriter(); michael@0: }, michael@0: michael@0: writeContent: function SH_writeContent() { michael@0: this._feedWriter.writeContent(); michael@0: }, michael@0: michael@0: uninit: function SH_uninit() { michael@0: this._feedWriter.close(); michael@0: } michael@0: };