Main Page Modules Class Hierarchy Data Structures File List Data Fields Globals Related Pages

# oscl_file_types.h

Go to the documentation of this file.

    00001 // -*- c++ -*-
    00002 // = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
    00003
    00004 //                     O S C L _ F I L E  _ TYPES
    00005
    00006 // = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
    00007
    00021 #ifndef OSCL_FILE_TYPES_H_INCLUDED
    00022 #define OSCL_FILE_TYPES_H_INCLUDED
    00023
    00024
    00025 #define OSCL_IO_FILENAME_MAXLEN 512
    00026 #define OSCL_IO_EXTENSION_MAXLEN 512
    00027
    00028 #define OSCL_FILE_WCHAR_PATH_DELIMITER _STRLIT("/")
    00029 #define OSCL_FILE_CHAR_PATH_DELIMITER _STRLIT_CHAR("/")
    00030
    00031 //a class for passing configuration options from Oscl_File to OsclNativeFile
    00032 class OsclNativeFileParams
    00033 {
    00034     public:
    00035         OsclNativeFileParams(uint32 mode = 0, uint32 bufsize = 0, uint32 asyncsize = 0)
    00036                 : iNativeAccessMode(mode)
    00037                 , iNativeBufferSize(bufsize)
    00038                 , iAsyncReadBufferSize(asyncsize)
    00039         {}
    00040         uint32 iNativeAccessMode;
    00041         uint32 iNativeBufferSize;
    00042         uint32 iAsyncReadBufferSize;
    00043 };
    00044
    00045
    00046 #endif // OSCL_FILE_TYPES_H_INCLUDED
    00047