WvStreams
unireadonlygen.cc
1 /*
2  * Worldvisions Weaver Software:
3  * Copyright (C) 1997-2002 Net Integration Technologies, Inc.
4  *
5  * A read only generator wrapper.
6  */
7 #include "unireadonlygen.h"
8 #include "wvmoniker.h"
9 #include "wvlinkerhack.h"
10 
11 WV_LINK(UniReadOnlyGen);
12 
13 
14 static IUniConfGen *creator(WvStringParm s, IObject *_obj)
15 {
16  return new UniReadOnlyGen(wvcreate<IUniConfGen>(s, _obj));
17 }
18 
19 static WvMoniker<IUniConfGen> reg("readonly", creator);