WvStreams
uninullgen.cc
00001 /*
00002  * Worldvisions Weaver Software:
00003  *   Copyright (C) 1997-2002 Net Integration Technologies, Inc.
00004  * 
00005  * A generator that is always empty and rejects changes.
00006  */
00007 #include "uninullgen.h"
00008 #include "wvmoniker.h"
00009 #include "wvlinkerhack.h"
00010 
00011 WV_LINK(UniNullGen);
00012 
00013 
00014 static IUniConfGen *creator(WvStringParm, IObject*)
00015 {
00016     return new UniNullGen();
00017 }
00018 
00019 static WvMoniker<IUniConfGen> reg("null", creator);