camtools.cpp File Reference

(r1785/r751)

#include "camtypes.h"
#include "dll_lib.h"
#include "viewmod.h"

Go to the source code of this file.

Functions

 DECLARE_SOURCE ("$Revision: 751 $")
void *MODULE_FN CreateModule (UINT32 Type)
UINT32 MODULE_FN GetNumberOfModules ()


Function Documentation

void* MODULE_FN CreateModule UINT32  Type  ) 
 

Definition at line 112 of file camtools.cpp.

00113 {
00114     switch (Type)
00115     {
00116         case 1:
00117             return new ViewModule;
00118         // Add further moduless here...
00119     }
00120     
00121     return NULL;
00122 }

DECLARE_SOURCE "$Revision: 751 $"   ) 
 

UINT32 MODULE_FN GetNumberOfModules  ) 
 

Definition at line 127 of file camtools.cpp.

00128 {
00129     return 1; // Increase this as you add more modules.
00130 }


Generated on Sat Nov 10 03:49:25 2007 for Camelot by  doxygen 1.4.4