1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
3 * XPLC - Cross-Platform Lightweight Components
4 * Copyright (C) 2002, Net Integration Technologies, Inc.
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public License
8 * as published by the Free Software Foundation; either version 2.1 of
9 * the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
22 #ifndef __XPLC_ICATEGORY_H__
23 #define __XPLC_ICATEGORY_H__
25 #if defined(__GNUC__) && __GNUC__ > 3
26 # pragma GCC system_header
29 #include <xplc/IFactory.h>
30 #include <xplc/ICategoryIterator.h>
33 * Represents a category.
36 class ICategory
: public IObject
{
39 /** Gets an iterator for the category. */
40 virtual ICategoryIterator
* getIterator() = 0;
43 DEFINE_IID(ICategory
, {0x90abfe8d, 0x50a9, 0x44d8,
44 {0x96, 0x03, 0x29, 0x9c, 0x8b, 0x21, 0x9e, 0x5d}});
46 #endif /* __XPLC_ICATEGORYMANAGER_H__ */