My Project
UDK 3.2.7 C/C++ API Reference
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
store
types.h
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/*************************************************************************
3
*
4
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5
*
6
* Copyright 2000, 2010 Oracle and/or its affiliates.
7
*
8
* OpenOffice.org - a multi-platform office productivity suite
9
*
10
* This file is part of OpenOffice.org.
11
*
12
* OpenOffice.org is free software: you can redistribute it and/or modify
13
* it under the terms of the GNU Lesser General Public License version 3
14
* only, as published by the Free Software Foundation.
15
*
16
* OpenOffice.org is distributed in the hope that it will be useful,
17
* but WITHOUT ANY WARRANTY; without even the implied warranty of
18
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
* GNU Lesser General Public License version 3 for more details
20
* (a copy is included in the LICENSE file that accompanied this code).
21
*
22
* You should have received a copy of the GNU Lesser General Public License
23
* version 3 along with OpenOffice.org. If not, see
24
* <http://www.openoffice.org/license.html>
25
* for a copy of the LGPLv3 License.
26
*
27
************************************************************************/
28
29
#ifndef _STORE_TYPES_H_
30
#define _STORE_TYPES_H_
31
32
#include <
sal/types.h
>
33
#include <
rtl/ustring.h
>
34
35
#ifdef __cplusplus
36
extern
"C"
{
37
#endif
38
42
#define STORE_DEFAULT_PAGESIZE ((sal_uInt16)0x0400)
43
44
48
#define STORE_MINIMUM_PAGESIZE ((sal_uInt16)0x0200)
49
#define STORE_MAXIMUM_PAGESIZE ((sal_uInt16)0x8000)
50
51
56
#define STORE_MAXIMUM_NAMESIZE 256
57
58
62
#define STORE_ATTRIB_ISLINK ((sal_uInt32)0x10000000)
63
#define STORE_ATTRIB_ISDIR ((sal_uInt32)0x20000000)
64
#define STORE_ATTRIB_ISFILE ((sal_uInt32)0x40000000)
65
66
72
enum
__store_AccessMode
73
{
74
store_AccessCreate
,
75
store_AccessReadCreate
,
76
store_AccessReadWrite
,
77
store_AccessReadOnly
,
78
store_Access_FORCE_EQUAL_SIZE
= SAL_MAX_ENUM
79
};
80
83
typedef
enum
__store_AccessMode
storeAccessMode
;
84
85
88
enum
__store_Error
89
{
90
store_E_None
= 0,
91
store_E_AccessViolation
,
92
store_E_LockingViolation
,
93
store_E_CantSeek
,
94
store_E_CantRead
,
95
store_E_CantWrite
,
96
store_E_InvalidAccess
,
97
store_E_InvalidHandle
,
98
store_E_InvalidParameter
,
99
store_E_InvalidChecksum
,
100
store_E_AlreadyExists
,
101
store_E_NotExists
,
102
store_E_NotDirectory
,
103
store_E_NotFile
,
104
store_E_NoMoreFiles
,
105
store_E_NameTooLong
,
106
store_E_OutOfMemory
,
107
store_E_OutOfSpace
,
108
store_E_Pending
,
109
store_E_WrongFormat
,
110
store_E_WrongVersion
,
111
store_E_Unknown
,
112
store_E_FORCE_EQUAL_SIZE
= SAL_MAX_ENUM
113
};
114
117
typedef
enum
__store_Error
storeError
;
118
119
124
struct
__store_FindData
125
{
129
sal_Unicode
m_pszName
[
STORE_MAXIMUM_NAMESIZE
];
130
134
sal_Int32
m_nLength
;
135
139
sal_uInt32
m_nAttrib
;
140
145
sal_uInt32
m_nSize
;
146
149
sal_uInt32
m_nReserved
;
150
};
151
154
typedef
struct
__store_FindData
storeFindData
;
155
156
157
/*========================================================================
158
*
159
* The End.
160
*
161
*======================================================================*/
162
163
#ifdef __cplusplus
164
}
165
#endif
166
167
#endif
/* _STORE_TYPES_H_ */
168
169
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Generated on Mon Oct 8 2012 00:36:42 for My Project by
1.8.1.2