(file) Return to FileSystemPropertyOwner.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Config

Diff for /pegasus/src/Pegasus/Config/FileSystemPropertyOwner.cpp between version 1.8 and 1.9

version 1.8, 2004/03/16 23:05:00 version 1.9, 2004/04/08 14:52:55
Line 57 
Line 57 
 static struct ConfigPropertyRow properties[] = static struct ConfigPropertyRow properties[] =
 { {
     {"repositoryDir", "repository", 0, 0, 0, 1},     {"repositoryDir", "repository", 0, 0, 0, 1},
       {"messageDir", "msg", 0, 0, 0, 1},
 }; };
  
 const Uint32 NUM_PROPERTIES = sizeof(properties) / sizeof(properties[0]); const Uint32 NUM_PROPERTIES = sizeof(properties) / sizeof(properties[0]);
Line 66 
Line 67 
 FileSystemPropertyOwner::FileSystemPropertyOwner() FileSystemPropertyOwner::FileSystemPropertyOwner()
 { {
     _repositoryDir = new ConfigProperty;     _repositoryDir = new ConfigProperty;
       _messageDir = new ConfigProperty;
 } }
  
 /** Destructor  */ /** Destructor  */
 FileSystemPropertyOwner::~FileSystemPropertyOwner() FileSystemPropertyOwner::~FileSystemPropertyOwner()
 { {
     delete _repositoryDir;     delete _repositoryDir;
       delete _messageDir;
 } }
  
 /** /**
Line 107 
Line 110 
             _repositoryDir->domainSize = properties[i].domainSize;             _repositoryDir->domainSize = properties[i].domainSize;
             _repositoryDir->externallyVisible = properties[i].externallyVisible;             _repositoryDir->externallyVisible = properties[i].externallyVisible;
         }         }
           else if (String::equalNoCase(properties[i].propertyName, "messageDir"))
           {
               _messageDir->propertyName = properties[i].propertyName;
               _messageDir->defaultValue = properties[i].defaultValue;
               _messageDir->currentValue = properties[i].defaultValue;
               _messageDir->plannedValue = properties[i].defaultValue;
               _messageDir->dynamic = properties[i].dynamic;
               _messageDir->domain = properties[i].domain;
               _messageDir->domainSize = properties[i].domainSize;
               _messageDir->externallyVisible = properties[i].externallyVisible;
           }
     }     }
 } }
  
Line 117 
Line 131 
     {     {
         return _repositoryDir;         return _repositoryDir;
     }     }
       if (String::equalNoCase(_messageDir->propertyName, name))
       {
           return _messageDir;
       }
     else     else
     {     {
         throw UnrecognizedConfigProperty(name);         throw UnrecognizedConfigProperty(name);


Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2