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

 1 mike  1.1 //BEGIN_LICENSE
 2           //
 3           // Copyright (c) 2000 The Open Group, BMC Software, Tivoli Systems, IBM
 4           //
 5           // Permission is hereby granted, free of charge, to any person obtaining a
 6           // copy of this software and associated documentation files (the "Software"),
 7           // to deal in the Software without restriction, including without limitation
 8           // the rights to use, copy, modify, merge, publish, distribute, sublicense,
 9           // and/or sell copies of the Software, and to permit persons to whom the
10           // Software is furnished to do so, subject to the following conditions:
11           //
12           // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13           // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14           // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
15           // THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16           // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
17           // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
18           // DEALINGS IN THE SOFTWARE.
19           //
20           //END_LICENSE
21           //BEGIN_HISTORY
22 mike  1.1 //
23           // Author: Michael E. Brasher
24           //
25           // $Log$
26           //
27           //END_HISTORY
28           
29           #ifndef Pegasus_System_h
30           #define Pegasus_System_h
31           
32           #include <Pegasus/Common/Config.h>
33           
34           PEGASUS_NAMESPACE_BEGIN
35           
36           /** The System class defines wrappers for operating system related calls.
37               These are only placed here if they are extremely light. These are
38               usually just direct wrappers which map more or less one to one to the
39               underlying function.
40           */
41           class PEGASUS_COMMON_LINKAGE System
42           {
43 mike  1.1 public:
44           
45               static void getCurrentTime(Uint32& seconds, Uint32& milliseconds);
46           
47               static void sleep(Uint32 seconds);
48           };
49           
50           PEGASUS_NAMESPACE_END
51           
52           #endif /* Pegasus_System_h */

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2