Statistics
| Revision:

svn-gvsig-desktop / trunk / libraries / libjni-mrsid / include / support / lt_ioStatus.h @ 3539

History | View | Annotate | Download (2.33 KB)

1
/* $Id: lt_ioStatus.h 3539 2006-01-09 12:23:20Z nacho $ */
2
/* //////////////////////////////////////////////////////////////////////////
3
//                                                                         //
4
// This code is Copyright (c) 2004 LizardTech, Inc, 1008 Western Avenue,   //
5
// Suite 200, Seattle, WA 98104.  Unauthorized use or distribution         //
6
// prohibited.  Access to and use of this code is permitted only under     //
7
// license from LizardTech, Inc.  Portions of the code are protected by    //
8
// US and foreign patents and other filings. All Rights Reserved.          //
9
//                                                                         //
10
////////////////////////////////////////////////////////////////////////// */
11
/* PUBLIC */
12

    
13
#ifndef LT_IOSTATUS_H
14
#define LT_IOSTATUS_H
15

    
16
#include "lt_base.h"
17

    
18
/** Base value for stream error codes  */
19
#define LT_STS_IOBas                            145000
20
LT_STATUSSTRING_ADD(LT_STS_IOBas, "lt_lib_mrsid_core base")
21

    
22
/**  Indicates that a stream has not been initialized with a data source */
23
#define LT_STS_IOStreamUninitialized            145003
24
LT_STATUSSTRING_ADD(LT_STS_IOStreamUninitialized, "stream not initialized")
25

    
26
/**  Indicates that a requested operation is not supported by a stream */
27
#define LT_STS_IOStreamUnsupported              145010
28
LT_STATUSSTRING_ADD(LT_STS_IOStreamUnsupported, "operation unsupported")
29

    
30
/**  Indicates that the supplied arguments are invalid or unintelligible */
31
#define LT_STS_IOInvalidArgs                               145011
32
LT_STATUSSTRING_ADD(LT_STS_IOInvalidArgs, "invalid arguments")
33

    
34
/**  Indicates that a stream is in a state that disallows the requested action */
35
#define LT_STS_IOStreamInvalidState                    145012
36
LT_STATUSSTRING_ADD(LT_STS_IOStreamInvalidState, "stream in invalid state")
37

    
38
/**  Out of memory */
39
#define LT_STS_IOOutOfMemory                          145013
40
LT_STATUSSTRING_ADD(LT_STS_IOOutOfMemory, "out of memory")
41

    
42
/** Unable to get file lock */
43
#define LT_STS_IOFileLock                       145014
44
LT_STATUSSTRING_ADD(LT_STS_IOFileLock, "unable to get file lock")
45

    
46
/** Could not unlock file */
47
#define LT_STS_IOFileUnlock                     145015
48
LT_STATUSSTRING_ADD(LT_STS_IOFileUnlock, "could not unlock file")
49

    
50
/** Upper limit for stream error codes  */
51
#define LT_STS_IOMax                                  145999
52
LT_STATUSSTRING_ADD(LT_STS_IOMax, "lt_lib_io max")
53

    
54

    
55
#endif // LT_IOSTATUS_H