(file) Return to SystemLogHandler.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Handler / SystemLogListenerDestination / tests

Diff for /pegasus/src/Pegasus/Handler/SystemLogListenerDestination/tests/SystemLogHandler.cpp between version 1.4 and 1.5

version 1.4, 2006/01/30 16:17:54 version 1.5, 2006/08/24 22:27:31
Line 43 
Line 43 
 PEGASUS_USING_PEGASUS; PEGASUS_USING_PEGASUS;
 PEGASUS_USING_STD; PEGASUS_USING_STD;
  
 const CIMNamespaceName NAMESPACE = CIMNamespaceName ("root/PG_InterOp");  
   // Uses interop namespace defined by PEGASUS_NAMESPACENAME_INTEROP in Constants.h
  
 CIMObjectPath CreateHandler1Instance (CIMClient& client) CIMObjectPath CreateHandler1Instance (CIMClient& client)
 { {
Line 57 
Line 58 
     handlerInstance.addProperty(CIMProperty(CIMName ("Name"),     handlerInstance.addProperty(CIMProperty(CIMName ("Name"),
         String("Handler1")));         String("Handler1")));
  
     CIMObjectPath Ref = client.createInstance(NAMESPACE, handlerInstance);      CIMObjectPath Ref = client.createInstance(PEGASUS_NAMESPACENAME_INTEROP,
           handlerInstance);
     return (Ref);     return (Ref);
 } }
  
Line 79 
Line 81 
     filterInstance.addProperty (CIMProperty(CIMName ("SourceNamespace"),     filterInstance.addProperty (CIMProperty(CIMName ("SourceNamespace"),
         String("root/SampleProvider")));         String("root/SampleProvider")));
  
     CIMObjectPath Ref = client.createInstance(NAMESPACE, filterInstance);      CIMObjectPath Ref = client.createInstance(PEGASUS_NAMESPACENAME_INTEROP,
           filterInstance);
     return (Ref);     return (Ref);
 } }
  
Line 102 
Line 105 
     subscriptionInstance.addProperty (CIMProperty     subscriptionInstance.addProperty (CIMProperty
         (CIMName ("TextFormatParameters"), textFormatParams));         (CIMName ("TextFormatParameters"), textFormatParams));
  
     CIMObjectPath Ref = client.createInstance(NAMESPACE,      CIMObjectPath Ref = client.createInstance(PEGASUS_NAMESPACENAME_INTEROP,
         subscriptionInstance);         subscriptionInstance);
     return (Ref);     return (Ref);
 } }
Line 130 
Line 133 
  
 void DeleteInstance (CIMClient& client, const CIMObjectPath Ref) void DeleteInstance (CIMClient& client, const CIMObjectPath Ref)
 { {
     client.deleteInstance(NAMESPACE, Ref);      client.deleteInstance(PEGASUS_NAMESPACENAME_INTEROP, Ref);
 } }
  
 int main(int argc, char** argv) int main(int argc, char** argv)


Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2