Environment_WIN32U.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. //
  2. // Environment_WIN32U.h
  3. //
  4. // $Id: //poco/1.4/Foundation/include/Poco/Environment_WIN32U.h#2 $
  5. //
  6. // Library: Foundation
  7. // Package: Core
  8. // Module: Environment
  9. //
  10. // Definition of the EnvironmentImpl class for WIN32.
  11. //
  12. // Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
  13. // and Contributors.
  14. //
  15. // SPDX-License-Identifier: BSL-1.0
  16. //
  17. #ifndef Foundation_Environment_WIN32U_INCLUDED
  18. #define Foundation_Environment_WIN32U_INCLUDED
  19. #include "Poco/Foundation.h"
  20. namespace Poco {
  21. class Foundation_API EnvironmentImpl
  22. {
  23. public:
  24. typedef UInt8 NodeId[6]; /// Ethernet address.
  25. static std::string getImpl(const std::string& name);
  26. static bool hasImpl(const std::string& name);
  27. static void setImpl(const std::string& name, const std::string& value);
  28. static std::string osNameImpl();
  29. static std::string osDisplayNameImpl();
  30. static std::string osVersionImpl();
  31. static std::string osArchitectureImpl();
  32. static std::string nodeNameImpl();
  33. static void nodeIdImpl(NodeId& id);
  34. static unsigned processorCountImpl();
  35. };
  36. } // namespace Poco
  37. #endif // Foundation_Environment_WIN32U_INCLUDED