LibreOffice Module onlineupdate (master)
1
onlineupdate
source
update
common
win_dirent.h
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2
/* vim:set ts=2 sw=2 sts=2 et cindent: */
3
/* This Source Code Form is subject to the terms of the Mozilla Public
4
* License, v. 2.0. If a copy of the MPL was not distributed with this
5
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6
7
#ifndef WINDIRENT_H__
8
#define WINDIRENT_H__
9
#ifdef _WIN32
10
#include <windows.h>
11
12
struct
DIR
13
{
14
explicit
DIR
(
const
WCHAR* path);
15
~DIR();
16
HANDLE findHandle;
17
WCHAR
name
[
MAX_PATH
];
18
};
19
20
struct
dirent
21
{
22
dirent();
23
WCHAR d_name[
MAX_PATH
];
24
};
25
26
DIR
* opendir(
const
WCHAR* path);
27
int
closedir(DIR* dir);
28
dirent* readdir(DIR* dir);
29
30
#endif
// WNT
31
#endif
// WINDIRENT_H__
HtmlOptionId::DIR
@ DIR
MAX_PATH
#define MAX_PATH
name
const char * name
Generated on Sun Jul 30 2023 04:39:37 for LibreOffice Module onlineupdate (master) by
1.9.3