HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
FS_FileHistory.h
Go to the documentation of this file.
1
/*
2
* PROPRIETARY INFORMATION. This software is proprietary to
3
* Side Effects Software Inc., and is not to be reproduced,
4
* transmitted, or disclosed in any way without written permission.
5
*
6
* NAME: FS_FileHistory.h (C++)
7
*
8
* COMMENTS:
9
*
10
*/
11
12
#ifndef __FS_FileHistory__
13
#define __FS_FileHistory__
14
15
#include "
FS_API.h
"
16
#include <
UT/UT_StringArray.h
>
17
#include <
UT/UT_StringHolder.h
>
18
#include <iosfwd>
19
20
class
UT_IStream
;
21
class
UT_String
;
22
23
class
FS_API
FS_FileHistory
24
{
25
public
:
26
FS_FileHistory
(
const
int
maxFiles,
const
char
*
type
,
bool
resolve);
27
28
int
numFilesinMRU()
const
;
29
const
char
*getFilenamefromMRU(
int
index
)
const
;
30
void
addFiletoMRU(
const
char
*
filename
);
31
void
removeFilefromMRU(
const
char
*filename);
32
void
getFormattedFilenamefromMRU(
int
index,
UT_String
&
path
)
const
;
33
void
saveFilestoMRU(std::ostream &os);
34
bool
loadFilesfromMRU(
UT_IStream
&is);
35
const
char
*getTypeNameofMRU();
36
37
private
:
38
UT_StringArray
myMRUList;
39
int
myMRUListHead;
40
int
myListMax;
41
UT_StringHolder
myTypeName;
42
bool
myResolvePath;
43
};
44
45
#endif
46
GT_Names::filename
GT_API const UT_StringHolder filename
FS_FileHistory
Definition:
FS_FileHistory.h:23
UT_IStream
Definition:
UT_IStream.h:56
path
GLsizei const GLchar *const * path
Definition:
glcorearb.h:3341
UT_StringArray.h
UT_StringHolder
Definition:
UT_StringHolder.h:999
FS_API.h
UT_StringArray
Definition:
UT_StringArray.h:24
UT_StringHolder.h
index
GLuint index
Definition:
glcorearb.h:786
UT_String
Definition:
UT_String.h:73
type
type
Definition:
core.h:1059
FS_API
#define FS_API
Definition:
FS_API.h:10
FS
FS_FileHistory.h
Generated on Fri Nov 8 2024 03:39:07 for HDK by
1.8.6