root / Community Core Vision / Linux / libs / poco / include / Poco / Environment_WIN32U.h @ 9

View | Annotate | Download (2.3 KB)

1 9 amit
//
2 9 amit
// Environment_WIN32U.h
3 9 amit
//
4 9 amit
// $Id: //poco/1.3/Foundation/include/Poco/Environment_WIN32U.h#2 $
5 9 amit
//
6 9 amit
// Library: Foundation
7 9 amit
// Package: Core
8 9 amit
// Module:  Environment
9 9 amit
//
10 9 amit
// Definition of the EnvironmentImpl class for WIN32.
11 9 amit
//
12 9 amit
// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
13 9 amit
// and Contributors.
14 9 amit
//
15 9 amit
// Permission is hereby granted, free of charge, to any person or organization
16 9 amit
// obtaining a copy of the software and accompanying documentation covered by
17 9 amit
// this license (the "Software") to use, reproduce, display, distribute,
18 9 amit
// execute, and transmit the Software, and to prepare derivative works of the
19 9 amit
// Software, and to permit third-parties to whom the Software is furnished to
20 9 amit
// do so, all subject to the following:
21 9 amit
//
22 9 amit
// The copyright notices in the Software and this entire statement, including
23 9 amit
// the above license grant, this restriction and the following disclaimer,
24 9 amit
// must be included in all copies of the Software, in whole or in part, and
25 9 amit
// all derivative works of the Software, unless such copies or derivative
26 9 amit
// works are solely in the form of machine-executable object code generated by
27 9 amit
// a source language processor.
28 9 amit
//
29 9 amit
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
30 9 amit
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
31 9 amit
// FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
32 9 amit
// SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
33 9 amit
// FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
34 9 amit
// ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
35 9 amit
// DEALINGS IN THE SOFTWARE.
36 9 amit
//
37 9 amit
38 9 amit
39 9 amit
#ifndef Foundation_Environment_WIN32U_INCLUDED
40 9 amit
#define Foundation_Environment_WIN32U_INCLUDED
41 9 amit
42 9 amit
43 9 amit
#include "Poco/Foundation.h"
44 9 amit
45 9 amit
46 9 amit
namespace Poco {
47 9 amit
48 9 amit
49 9 amit
class Foundation_API EnvironmentImpl
50 9 amit
{
51 9 amit
public:
52 9 amit
        typedef UInt8 NodeId[6]; /// Ethernet address.
53 9 amit
54 9 amit
        static std::string getImpl(const std::string& name);
55 9 amit
        static bool hasImpl(const std::string& name);
56 9 amit
        static void setImpl(const std::string& name, const std::string& value);
57 9 amit
        static std::string osNameImpl();
58 9 amit
        static std::string osVersionImpl();
59 9 amit
        static std::string osArchitectureImpl();
60 9 amit
        static std::string nodeNameImpl();
61 9 amit
        static void nodeIdImpl(NodeId& id);
62 9 amit
};
63 9 amit
64 9 amit
65 9 amit
} // namespace Poco
66 9 amit
67 9 amit
68 9 amit
#endif // Foundation_Environment_WIN32U_INCLUDED