xos_files_vtbl.h.svn-base

来自「brew头文件分析」· SVN-BASE 代码 · 共 51 行

SVN-BASE
51
字号
//**************************************************************
//Copyright (C), 2008-2008, AnyLook Co., Ltd.
//File name:    xOS_File_VTBL.h
//Author:       AnyLook
//Version:      1.0
//Date:         2008/07/31
//Description:
//    xOS Include file
//Others: 
//Function List: 
//<Name>        <desc>
//Simple        
//History: 
//<author>      <time>      <version >  <desc>
// AnyLook     2008/07/31       1.0       build this moudle  
//**************************************************************


#ifndef _xOS_File_VTBL_H
#define _xOS_File_VTBL_H

#include "xOS.h"
#include "xOS_rwops.h"



INTERFACE(Files)
{

    int     (*GetFileInfoByName)(const char * pszFile, FileInfo *pInfo);
    int     (*MkDir)(const char * pszDir);
    int     (*RmDir)(const char * pszDir);
    int     (*RenameFile)(const char * pszSrc, const char * pszDest);
    int     (*RemoveFile)(const char * pszFile);
    int     (*EnumFileInit)(const char * pszdir, boolean bDirs);
    int     (*EnumFileNext)(FileInfo *pInfo);
    int     (*TestFile)(const char * pszFile);
    int     (*GetFSInfo)(const char *pszDisk, FSInfo *pInfo);
    Handler (*OpenFile)(const char *pszFile, const char *mode);
    int     (*CloseFile)(Handler hdl);
    int     (*FileRead)(Handler hdl, void *ptr, int size, int maxnum);
    int     (*FileWrite)(Handler hdl, const void *ptr, int size, int num);
    int     (*FileSeek)(Handler hdl, int offset, int whence);
    int     (*FileTruncate)(Handler hdl, int pos);
    int     (*GetFileInfo)(Handler hdl, FileInfo *pInfo);
};


#endif //_xOS_File_VTBL_H

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?