Fix several warnings that appear in gcc 4.3.2.
[wvstreams.git] / include / unireadonlygen.h
blobc7f16f5bfb3f16892d6e3082a1103d6abad7e50f
1 /* -*- Mode: C++ -*-
2 * Worldvisions Weaver Software:
3 * Copyright (C) 1997-2002 Net Integration Technologies, Inc.
4 *
5 * A read only generator wrapper.
6 */
7 #ifndef __UNIREADONLYGEN_H
8 #define __UNIREADONLYGEN_H
10 #include "unifiltergen.h"
12 /**
13 * A generator that wraps another generator and makes it read only.
15 * To mount, use the moniker "readonly:" followed by the
16 * moniker of the generator to wrap.
19 class UniReadOnlyGen : public UniFilterGen
21 public:
22 UniReadOnlyGen(IUniConfGen *inner) : UniFilterGen(inner) { }
24 /***** Overridden members *****/
26 virtual void flush_buffers() { }
27 virtual void set(const UniConfKey &key, WvStringParm value) { };
31 #endif // __UNICONFREADONLY_H