Make WvStreams compile with gcc 4.4.
[wvstreams.git] / uniconf / unibachelorgen.cc
blobb9766cf5c86846362a5dc928bf6fa83f18a3cd3b
1 /*
2 * Worldvisions Weaver Software:
3 * Copyright (C) 2005 Net Integration Technologies, Inc.
5 * A UniConf generator that refuses to commit() or refresh(). This is
6 * useful in blocking propogation of these messages upstream.
7 */
9 #include "unibachelorgen.h"
10 #include "wvmoniker.h"
13 static IUniConfGen *creator(WvStringParm s, IObject *_obj)
15 return new UniBachelorGen(wvcreate<IUniConfGen>(s, _obj));
18 static WvMoniker<IUniConfGen> moniker("bachelor", creator);
20 UniBachelorGen::UniBachelorGen(IUniConfGen *inner)
21 : UniFilterGen(inner)
25 UniBachelorGen::UniBachelorGen(WvStringParm moniker)
26 : UniFilterGen(NULL)
28 setinner(wvcreate<IUniConfGen>(moniker));
31 void UniBachelorGen::commit()
36 bool UniBachelorGen::refresh()
38 return false;