Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   File Members  

IServiceManager.h

Go to the documentation of this file.
00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
00002  *
00003  * XPLC - Cross-Platform Lightweight Components
00004  * Copyright (C) 2000-2002, Pierre Phaneuf
00005  * Copyright (C) 2002, Net Integration Technologies, Inc.
00006  *
00007  * This library is free software; you can redistribute it and/or
00008  * modify it under the terms of the GNU Lesser General Public License
00009  * as published by the Free Software Foundation; either version 2.1 of
00010  * the License, or (at your option) any later version.
00011  *
00012  * This library is distributed in the hope that it will be useful, but
00013  * WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015  * Lesser General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU Lesser General Public
00018  * License along with this library; if not, write to the Free Software
00019  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
00020  * USA
00021  */
00022 
00023 #ifndef __XPLC_ISERVICEMANAGER_H__
00024 #define __XPLC_ISERVICEMANAGER_H__
00025 
00031 #include <xplc/IObject.h>
00032 #include <xplc/IServiceHandler.h>
00033 
00054 class IServiceManager: public IServiceHandler {
00055   UNSTABLE_INTERFACE
00056 public:
00060   virtual void addHandler(IServiceHandler*) = 0;
00061     
00065   virtual void addFirstHandler(IServiceHandler*) = 0;
00066     
00070   virtual void addLastHandler(IServiceHandler*) = 0;
00071     
00074   virtual void removeHandler(IServiceHandler*) = 0;
00075 };
00076 
00078 DEFINE_IID(IServiceManager, {0x22bdabd9, 0xa63a, 0x4b5e,
00079   {0xb1, 0x61, 0xb6, 0x36, 0x52, 0x27, 0xd7, 0x8e}});
00080 
00081 #endif /* __XPLC_ISERVICEMANAGER_H__ */

Generated on Sun Sep 26 04:01:25 2004 for XPLC by doxygen1.2.18