/*
 * 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 "nsIDOMDocumentTraversal.idl"
#include "nsIDOMNode.idl"

[scriptable, uuid(9a35c58a-14a5-4b13-87a0-4ec24a19888f)]
interface flockITokenizer : nsISupports {
  AString tokenizeDOMNode(in nsIDOMDocumentTraversal aTraversal, in nsIDOMNode aDOMNode);
};


%{C++

// 3d097e0f-5435-472c-a769-49a110aa8ac2
#define FLOCK_TOKENIZER_CID \
{ 0x3d097e0f, 0x5435, 0x472c, { 0xa7, 0x69, 0x49, 0xa1, 0x10, 0xaa, 0x8a, 0xc2 } }
#define FLOCK_TOKENIZER_CLASSNAME "Flock Tokenizer"
#define FLOCK_TOKENIZER_CONTRACTID "@flock.com/tokenizer;1"

%}