PEP 55 Update license on source files to current license text and date
[tpot/pegasus/.git] / src / Providers / ManagedSystem / NTPAdminDomain / NTPAdminDomain_Stub.cpp
1 //%2003////////////////////////////////////////////////////////////////////////
2 //
3 // 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 //
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 // 
15 // 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: Paulo F. Borges (pfborges@wowmail.com)
27 //         
28 //
29 // Modified By: Jair Francisco T. dos Santos (t.dos.santos.francisco@non.hp.com)
30 //==============================================================================
31 // Based on DNSAdminDomain_Stub.cpp file
32 //%////////////////////////////////////////////////////////////////////////////
33
34 //------------------------------------------------------------------------------
35 // INCLUDES
36 //------------------------------------------------------------------------------
37 #include "NTPAdminDomain.h"
38
39 //------------------------------------------------------------------------------
40 PEGASUS_USING_PEGASUS;
41 PEGASUS_USING_STD;
42
43 //==============================================================================
44 //
45 // Class [NTPAdminDomain] methods
46 //
47 //==============================================================================
48
49 //------------------------------------------------------------------------------
50 // Constructor
51 //------------------------------------------------------------------------------
52 NTPAdminDomain::NTPAdminDomain(void)
53 {
54 }
55
56 //------------------------------------------------------------------------------
57 // Destructor
58 //------------------------------------------------------------------------------
59 NTPAdminDomain::~NTPAdminDomain(void)
60 {
61 }
62
63 //------------------------------------------------------------------------------
64 // FUNCTION: getNTPInfo
65 //
66 // REMARKS: Retrieves the NTP information from the "/etc/ntp.conf" file, 
67 //            and sets private variables to hold the data read.
68 //
69 // RETURN: 
70 //------------------------------------------------------------------------------
71 Boolean
72 NTPAdminDomain::getNTPInfo() 
73 {
74     return true;
75 }
76
77 //------------------------------------------------------------------------------
78 // FUNCTION: getLocalHostName
79 //
80 // REMARKS: Retrieves the local host name
81 //
82 // PARAMETERS:  [OUT] hostName -> string that will contain the local host name
83 //
84 // RETURN: TRUE if local hostname is valid, FALSE otherwise
85 //------------------------------------------------------------------------------
86 Boolean
87 NTPAdminDomain::getLocalHostName(String & hostName) 
88 {
89     return true;
90 }
91
92 //------------------------------------------------------------------------------
93 // FUNCTION: getCreationClassName
94 //
95 // REMARKS: returns the CreationClassName property
96 //
97 // PARAMETERS: [OUT] strValue -> string that will receive the CreationClassName 
98 //                               property value
99 //
100 // RETURN: TRUE
101 //------------------------------------------------------------------------------
102 Boolean
103 NTPAdminDomain::getCreationClassName(String & strValue) 
104 {
105     return true;
106 }
107
108 //------------------------------------------------------------------------------
109 // FUNCTION: getName
110 //
111 // REMARKS: returns the Name property
112 //
113 // PARAMETERS: [OUT] strValue -> string that will receive the Name property value
114 //
115 // RETURN: TRUE
116 //------------------------------------------------------------------------------
117 Boolean
118 NTPAdminDomain::getName(String & strValue) 
119 {
120     return true;
121 }
122
123 //------------------------------------------------------------------------------
124 // FUNCTION: getCaption
125 //
126 // REMARKS: returns the Caption property
127 //
128 // PARAMETERS: [OUT] strValue -> string that will receive the Caption property 
129 //                                 value
130 //
131 // RETURN: TRUE
132 //------------------------------------------------------------------------------
133 Boolean
134 NTPAdminDomain::getCaption(String & strValue) 
135 {
136     return true;
137 }
138
139 //------------------------------------------------------------------------------
140 // FUNCTION: getDescription
141 //
142 // REMARKS: returns the Description property
143 //
144 // PARAMETERS: [OUT] strValue -> string that will receive the Description 
145 //                                 property value
146 //
147 // RETURN: TRUE
148 //------------------------------------------------------------------------------
149 Boolean
150 NTPAdminDomain::getDescription(String & strValue) 
151 {
152     return true;
153 }
154
155 //------------------------------------------------------------------------------
156 // FUNCTION: getServerAddress
157 //
158 // REMARKS: returns the ServerAddress property
159 //
160 // PARAMETERS: [OUT] strValue -> string that will receive the ServerAddress 
161 //                                 property value
162 //
163 // RETURN: TRUE
164 //------------------------------------------------------------------------------
165 Boolean
166 NTPAdminDomain::getServerAddress(Array<String> & strValue) 
167 {
168     return true;
169 }
170
171 //------------------------------------------------------------------------------
172 // FUNCTION: getNameFormat
173 //
174 // REMARKS: returns the NameFormat property
175 //
176 // PARAMETERS: [OUT] strValue -> string that will receive the NameFormat
177 //                                 property value
178 //
179 // RETURN: TRUE
180 //------------------------------------------------------------------------------
181 Boolean
182 NTPAdminDomain::getNameFormat(String & strValue) 
183 {
184     return true;
185 }