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: #ifndef __strset_h_ michael@0: #define __strset_h_ michael@0: michael@0: struct StrSet { michael@0: StrSet(); michael@0: michael@0: void add(const char* string); michael@0: int contains(const char* string); michael@0: bool IsEmpty() const { return 0 == numstrings; } michael@0: michael@0: char** strings; michael@0: int numstrings; michael@0: }; michael@0: michael@0: #endif /* __strset_h_ */