169 files changed, 64432 insertions, 116 deletions
diff --git a/tvapi/libtv/tvsetting/CBlobDeviceFile.h b/tvapi/libtv/tvsetting/CBlobDeviceFile.h new file mode 100644 index 0000000..3d59685 --- a/dev/null +++ b/tvapi/libtv/tvsetting/CBlobDeviceFile.h @@ -0,0 +1,27 @@ +#ifndef _BLOB_FILE_H_ +#define _BLOB_FILE_H_ + +#include "CBlobDevice.h" +class CBlobDeviceFile: public CBlobDevice +{ + +public: + CBlobDeviceFile(); + virtual ~CBlobDeviceFile(); + + virtual int WriteBytes(int offset, int size, unsigned char *buf); + virtual int ReadBytes(int offset, int size, unsigned char *buf); + virtual int EraseAllData(); + virtual int InitCheck(); + virtual int OpenDevice(); + virtual int CloseDevice(); + +private: + int ValidOperateCheck(); + int CreateNewFile(const char *file_name); + +private: + +}; + +#endif // ANDROID_SSM_FILE_H |