Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
fx_folder.h
Go to the documentation of this file.
1// Copyright 2021 The PDFium Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7#ifndef CORE_FXCRT_FX_FOLDER_H_
8#define CORE_FXCRT_FX_FOLDER_H_
9
10#include <memory>
11
12#include "core/fxcrt/bytestring.h"
13
14class FX_Folder {
15 public:
16 static std::unique_ptr<FX_Folder> OpenFolder(const ByteString& path);
17
18 virtual ~FX_Folder() = default;
19
20 // `filename` and `folder` are required out-parameters.
21 virtual bool GetNextFile(ByteString* filename, bool* bFolder) = 0;
22};
23
24#endif // CORE_FXCRT_FX_FOLDER_H_
static std::unique_ptr< FX_Folder > OpenFolder(const ByteString &path)
virtual bool GetNextFile(ByteString *filename, bool *bFolder)=0
virtual ~FX_Folder()=default
bool GetNextFile(ByteString *filename, bool *bFolder) override
~FX_PosixFolder() override
ByteString & operator=(const char *str)
const char * c_str() const
Definition bytestring.h:76