(file) Return to ProviderRegistrar.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / ProviderManager2

 1 karl  1.4 //%2003////////////////////////////////////////////////////////////////////////
 2 chip  1.1 //
 3 karl  1.4 // Copyright (c) 2000, 2001, 2002  BMC Software, Hewlett-Packard Development
 4           // Company, L. P., IBM Corp., The Open Group, Tivoli Systems.
 5           // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L. P.;
 6           // IBM Corp.; EMC Corporation, The Open Group.
 7 chip  1.1 //
 8           // Permission is hereby granted, free of charge, to any person obtaining a copy
 9           // of this software and associated documentation files (the "Software"), to
10           // deal in the Software without restriction, including without limitation the
11           // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
12           // sell copies of the Software, and to permit persons to whom the Software is
13           // furnished to do so, subject to the following conditions:
14 karl  1.4 // 
15 chip  1.1 // THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
16           // ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
17           // "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
18           // LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
19           // PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
20           // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
21           // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22           // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23           //
24           //==============================================================================
25           //
26           // Author: Chip Vincent (cvincent@us.ibm.com)
27           //
28 schuur 1.7 // Modified By: Adrian Schuur (schuur@de-ibm.com)
29 chip   1.1 //
30            //%/////////////////////////////////////////////////////////////////////////////
31            
32            #ifndef Pegasus_ProviderRegistrar_h
33            #define Pegasus_ProviderRegistrar_h
34            
35            #include <Pegasus/Common/Config.h>
36            #include <Pegasus/Common/String.h>
37 chip   1.2 #include <Pegasus/Common/CIMObjectPath.h>
38 chip   1.1 
39 chip   1.2 #include <Pegasus/ProviderManager2/ProviderName.h>
40            #include <Pegasus/ProviderManager2/ProviderType.h>
41 chip   1.1 
42            #include <Pegasus/Server/Linkage.h>
43            
44            PEGASUS_NAMESPACE_BEGIN
45            
46 chip   1.3 class PEGASUS_SERVER_LINKAGE ProviderRegistration
47            {
48            public:
49            
50            };
51            
52 chip   1.1 class PEGASUS_SERVER_LINKAGE ProviderRegistrar
53            {
54            public:
55                ProviderRegistrar(void);
56                virtual ~ProviderRegistrar(void);
57            
58 schuur 1.6     ProviderName findConsumerProvider(const String & destinationPath);
59 schuur 1.7     ProviderName findProvider(const ProviderName & providerName, Boolean test=true);
60 chip   1.3 
61                //ProviderName findProvider(const CIMObjectPath & reference);
62            
63 chip   1.2     Boolean insertProvider(const ProviderName & providerName);
64                Boolean removeProvider(const ProviderName & providerName);
65 chip   1.1 
66 chip   1.2 };
67 chip   1.1 
68 chip   1.2 //hack
69            class ProviderRegistrationManager;
70 chip   1.1 
71 chip   1.2 PEGASUS_SERVER_LINKAGE void SetProviderRegistrationManager(ProviderRegistrationManager * p);
72            PEGASUS_SERVER_LINKAGE ProviderRegistrationManager * GetProviderRegistrationManager(void);
73 chip   1.1 
74            PEGASUS_NAMESPACE_END
75            
76            #endif

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2