Make WvStreams compile with gcc 4.4.
[wvstreams.git] / include / xplc / IMonikerService.h
blobc98751a9f7186e4767887819cca5d0e40d9d5431
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
3 * XPLC - Cross-Platform Lightweight Components
4 * Copyright (C) 2002, Pierre Phaneuf
5 * Copyright (C) 2002, Net Integration Technologies, Inc.
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public License
9 * as published by the Free Software Foundation; either version 2.1 of
10 * the License, or (at your option) any later version.
12 * This library is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
20 * USA
23 #ifndef __XPLC_IMONIKERSERVICE_H__
24 #define __XPLC_IMONIKERSERVICE_H__
26 #if defined(__GNUC__) && __GNUC__ > 3
27 # pragma GCC system_header
28 #endif
30 #include <xplc/IMoniker.h>
32 /** \interface IMonikerService IMonikerService.h xplc/IMonikerService.h
34 * An interface for registering objects so they can be retrieved using
35 * a moniker.
37 * You can obtain the %XPLC standard moniker service by getting the
38 * XPLC_monikers UUID from the service manager.
40 class IMonikerService: public IMoniker {
41 UNSTABLE_INTERFACE
42 public:
43 /**
44 * Register an object to be retrieved with a moniker.
46 virtual void registerObject(const char* prefix, const UUID& uuid) = 0;
49 DEFINE_IID(IMonikerService, {0x0ee2cc09, 0xd7d5, 0x44ee,
50 {0xbc, 0x63, 0xf2, 0xb9, 0x03, 0x7d, 0xb9, 0x82}});
52 #endif /* __XPLC_IMONIKERSERVICE_H__ */