2012-04-29 20:52:25 +02:00
|
|
|
//
|
|
|
|
// Path_WIN32U.h
|
|
|
|
//
|
|
|
|
// $Id: //poco/1.4/Foundation/include/Poco/Path_WIN32U.h#1 $
|
|
|
|
//
|
|
|
|
// Library: Foundation
|
|
|
|
// Package: Filesystem
|
|
|
|
// Module: Path
|
|
|
|
//
|
|
|
|
// Definition of the PathImpl class for WIN32.
|
|
|
|
//
|
|
|
|
// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
|
|
|
|
// and Contributors.
|
|
|
|
//
|
2014-05-04 21:02:42 +02:00
|
|
|
// SPDX-License-Identifier: BSL-1.0
|
2012-04-29 20:52:25 +02:00
|
|
|
//
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef Foundation_Path_WIN32U_INCLUDED
|
|
|
|
#define Foundation_Path_WIN32U_INCLUDED
|
|
|
|
|
|
|
|
|
|
|
|
#include "Poco/Foundation.h"
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
|
|
|
|
namespace Poco {
|
|
|
|
|
|
|
|
|
|
|
|
class Foundation_API PathImpl
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
static std::string currentImpl();
|
|
|
|
static std::string homeImpl();
|
|
|
|
static std::string tempImpl();
|
|
|
|
static std::string nullImpl();
|
2012-12-14 19:09:23 +01:00
|
|
|
static std::string systemImpl();
|
2012-04-29 20:52:25 +02:00
|
|
|
static std::string expandImpl(const std::string& path);
|
|
|
|
static void listRootsImpl(std::vector<std::string>& roots);
|
|
|
|
|
|
|
|
enum
|
|
|
|
{
|
|
|
|
MAX_PATH_LEN = 32767
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
} // namespace Poco
|
|
|
|
|
|
|
|
|
|
|
|
#endif // Foundation_Path_WIN32U_INCLUDED
|