DumontEXE 0.0.1
DumontFactory.cpp
00001 
00002 #include "DumontEXE.h"
00003 #include "DumontFactory.h"
00004 
00005 #include <QObject>
00006 #include <QString>
00007 #include <QUuid>
00008 #include <QMetaObject>
00009 #include <QStringList>
00010 
00011 //DumontFactory dumontFactory;
00012 
00013 const QUuid typeLibraryID    ("{4F71100C-F22E-4c5e-828F-67B253BABDCF}");
00014 const QUuid applicationID    ("{9FAD1FFD-3DCA-47d2-BAA9-A95C80E539C9}");
00015 
00016 //QAXFACTORY_DEFAULT
00017 //(
00018 //  DumontEXE,
00019 //  CLASS_ID,
00020 //  INTERFACE_ID,
00021 //  EVENT_INTERFACE_ID
00022 //  TYPE_LIBRARY_ID,
00023 //  APPLICATION_ID
00024 //)
00025 
00026 //t_factoryList g_factoryList[] =
00027 //{
00028 //  { "DumontEXE", &classID, &interfaceID, &eventInterfaceID }
00029 //};
00030 
00031 DumontFactory::DumontFactory(void)
00032 :
00033   QAxFactory( typeLibraryID, applicationID )
00034 {
00035 //  TRACE_FUNCTION
00036 
00037   startServer( QAxFactory::MultipleInstances );
00038 
00039 }
00040 
00041 DumontFactory::~DumontFactory()
00042 {
00043 //  TRACE_FUNCTION
00044 
00045   stopServer();
00046 }
00047 
00048 QStringList DumontFactory::featureList( void ) const
00049 {
00050   QStringList list;
00051   list << "DumontEXE";
00052   return( list );
00053 }
00054 
00055 QObject * DumontFactory::createObject( const QString & key )
00056 {
00057   if( key == "DumontEXE" ) return( DumontEXE::createObject() );
00058   return( NULL );
00059 }
00060 
00061 const QMetaObject * DumontFactory::metaObject( const QString & key ) const
00062 {
00063   if( key == "DumontEXE" ) return( &DumontEXE::staticMetaObject );
00064   return( NULL );
00065 }
00066 
00067 
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties




~ ~ ~ ~ ~ ~
Source Code without Comments is like a Cranberry Garland
without the berries. Comment your Code!
 
Commence Database User Support Group Forum
http://newsgroup.showoff-db.org/
~ ~ ~ ~ ~ ~
Author: Mark Petryk
Lorimark Solutions, LLC
mark@lorimarksolutions.com