author Mark Banner <>
Tue, 22 Apr 2014 14:31:32 +0100
changeset 23773 4409679b6df5f353b602216226cb4b189305940a
parent 13270 3f9b812e72471c2172bfde0ebbeeb210bf5f1a95
child 29359 b1c3218f6e2e2e393d74ad3716108fe5989af48b
permissions -rw-r--r--
Bug 909952 Remove unnecessary l10n *_REV arguments, as these are not necessary and break the build. Also add an additional possible location for hgtool to work with releng systems better. r=jcranmer,a=Standard8

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at */

#ifndef nsImapSearchResults_h___
#define nsImapSearchResults_h___

#include "nsVoidArray.h"

class nsImapSearchResultSequence : public nsVoidArray
    virtual ~nsImapSearchResultSequence();
    static nsImapSearchResultSequence *CreateSearchResultSequence();
    virtual void AddSearchResultLine(const char *searchLine);
    virtual void ResetSequence();
    void  Clear();
    friend class nsImapSearchResultIterator;

class nsImapSearchResultIterator {
    nsImapSearchResultIterator(nsImapSearchResultSequence &sequence);
    virtual ~nsImapSearchResultIterator();
    void  ResetIterator();
    int32_t GetNextMessageNumber();   // returns 0 at end of list
    nsImapSearchResultSequence &fSequence;
    int32_t fSequenceIndex;
    char  *fCurrentLine;
    char  *fPositionInCurrentLine;