WvStreams
unireadonlygen.cc
00001 /*
00002  * Worldvisions Weaver Software:
00003  *   Copyright (C) 1997-2002 Net Integration Technologies, Inc.
00004  * 
00005  * A read only generator wrapper.
00006  */
00007 #include "unireadonlygen.h"
00008 #include "wvmoniker.h"
00009 #include "wvlinkerhack.h"
00010 
00011 WV_LINK(UniReadOnlyGen);
00012 
00013 
00014 static IUniConfGen *creator(WvStringParm s, IObject *_obj)
00015 {
00016     return new UniReadOnlyGen(wvcreate<IUniConfGen>(s, _obj));
00017 }
00018 
00019 static WvMoniker<IUniConfGen> reg("readonly", creator);