(file) Return to ProviderManagerModule.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / ProviderManager2 / Attic

Diff for /pegasus/src/Pegasus/ProviderManager2/Attic/ProviderManagerModule.cpp between version 1.6 and 1.7

version 1.6, 2005/02/05 23:00:26 version 1.7, 2005/04/29 21:38:29
Line 29 
Line 29 
 // //
 // Author: Chip Vincent (cvincent@us.ibm.com) // Author: Chip Vincent (cvincent@us.ibm.com)
 // //
 // Modified By:  // Modified By: Roger Kumpf, Hewlett-Packard Company (roger_kumpf@hp.com)
 // //
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
Line 37 
Line 37 
  
 PEGASUS_NAMESPACE_BEGIN PEGASUS_NAMESPACE_BEGIN
  
 ProviderManagerModule::ProviderManagerModule(void)  ProviderManagerModule::ProviderManagerModule()
       : DynamicLibrary(),
         _createProviderManager(0)
 { {
 } }
  
 ProviderManagerModule::ProviderManagerModule(const ProviderManagerModule & module) : DynamicLibrary(module)  ProviderManagerModule::ProviderManagerModule(
       const ProviderManagerModule& module)
       : DynamicLibrary(module),
         _createProviderManager(module._createProviderManager)
 { {
 } }
  
 ProviderManagerModule::ProviderManagerModule(const String & fileName) : DynamicLibrary(fileName)  ProviderManagerModule::ProviderManagerModule(
       const String& fileName)
       : DynamicLibrary(fileName),
         _createProviderManager(0)
 { {
 } }
  
 ProviderManagerModule::~ProviderManagerModule(void)  ProviderManagerModule::~ProviderManagerModule()
 { {
 } }
  
 ProviderManagerModule & ProviderManagerModule::operator=(const ProviderManagerModule & module)  ProviderManagerModule& ProviderManagerModule::operator=(
       const ProviderManagerModule& module)
 { {
     if(this == &module)     if(this == &module)
     {     {
Line 62 
Line 71 
  
     DynamicLibrary::operator=(module);     DynamicLibrary::operator=(module);
  
       _createProviderManager = module._createProviderManager;
   
     return(*this);     return(*this);
 } }
  
 Boolean ProviderManagerModule::load(void)  Boolean ProviderManagerModule::load()
 { {
     if(DynamicLibrary::load())     if(DynamicLibrary::load())
     {     {
         // export entry points         // export entry points
         _createProviderManager = (CREATE_PROVIDER_MANAGER_FUNCTION)getSymbol("PegasusCreateProviderManager");          _createProviderManager = (CREATE_PROVIDER_MANAGER_FUNCTION)
               getSymbol("PegasusCreateProviderManager");
  
         if(_createProviderManager != 0)         if(_createProviderManager != 0)
         {         {
Line 83 
Line 95 
     return(false);     return(false);
 } }
  
 Boolean ProviderManagerModule::unload(void)  Boolean ProviderManagerModule::unload()
 { {
     return(DynamicLibrary::unload());     return(DynamicLibrary::unload());
 } }
  
 ProviderManager * ProviderManagerModule::getProviderManager(const String & s) const  ProviderManager* ProviderManagerModule::getProviderManager(
       const String& s) const
   {
       if (!isLoaded())
 { {
           return(0);
       }
   
     return(_createProviderManager(s));     return(_createProviderManager(s));
 } }
  


Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2