/*
 * BEGIN FLOCK GPL
 *
 * Copyright Flock Inc. 2005-2009
 * http://flock.com
 *
 * This file may be used under the terms of the
 * GNU General Public License Version 2 or later (the "GPL"),
 * http://www.gnu.org/licenses/gpl.html
 *
 * Software distributed under the License is distributed on an "AS IS" basis,
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 * for the specific language governing rights and limitations under the
 * License.
 *
 * END FLOCK GPL
 */

#include "nsISupports.idl"
#include "nsIInputStream.idl"

[scriptable, uuid(2901f0fc-b8ea-42d9-b000-1ff3c998fdf2)]
interface flockICompressContent : nsISupports {
  nsIInputStream compressString(in AUTF8String aData);
};


%{C++

// 6dcfcd29-01ee-4193-8509-edbe926ea1ab
#define FLOCK_COMPRESSCONTENT_CID \
{ 0x6dcfcd29, 0x01ee, 0x4193, { 0x85, 0x09, 0xed, 0xbe, 0x92, 0x6e, 0xa1, 0xab } }
#define FLOCK_COMPRESSCONTENT_CLASSNAME "Flock Content Compressor"
#define FLOCK_COMPRESSCONTENT_CONTRACTID "@flock.com/compress-content;1"

%}
