module.cpp

00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
00002  *
00003  * This file is example code for XPLC (http://xplc.sourceforge.net/),
00004  * and is put into the public domain.
00005  */
00006 
00007 #include <xplc/module.h>
00008 #include "module.h"
00009 
00010 /* This is the list of UUIDs that this module can provide objects for,
00011  * along with a pointer to the function that will provide it. This *
00012  * example has only one component, but there is no restriction on how
00013  * many components can a single module have (you do not have to put
00014  * one component per module).
00015 */
00016 static const XPLC_ComponentEntry components[] = {
00017   { SimpleComponent_CID, &getSimpleComponent },
00018   { UUID_null, 0 }
00019 };
00020 
00021 const XPLC_ModuleInfo XPLC_Module = {
00022   XPLC_MODULE_MAGIC,
00023   XPLC_MODULE_VERSION_MAJOR,
00024   XPLC_MODULE_VERSION_MINOR,
00025   "Simple Example Module",
00026   components,
00027   0
00028 };
00029 

Generated on Thu May 25 21:51:01 2006 for WvStreams by  doxygen 1.4.6