2 * Worldvisions Weaver Software:
3 * Copyright (C) 1997-2002 Net Integration Technologies, Inc.
5 * A read only generator wrapper.
7 #ifndef __UNIREADONLYGEN_H
8 #define __UNIREADONLYGEN_H
10 #include "unifiltergen.h"
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
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