summaryrefslogtreecommitdiff
path: root/tvapi/libtv/tvsetting/CBlobDeviceFile.h (plain)
blob: 28357d04c4b5d24b7d6b0b6e05e6426895565793
1#ifndef _BLOB_FILE_H_
2#define _BLOB_FILE_H_
3
4#include "CBlobDevice.h"
5class CBlobDeviceFile: public CBlobDevice {
6
7public:
8 CBlobDeviceFile();
9 virtual ~CBlobDeviceFile();
10
11 virtual int WriteBytes(int offset, int size, unsigned char *buf);
12 virtual int ReadBytes(int offset, int size, unsigned char *buf);
13 virtual int EraseAllData();
14 virtual int InitCheck();
15 virtual int OpenDevice();
16 virtual int CloseDevice();
17
18private:
19 int ValidOperateCheck();
20 int CreateNewFile(const char *file_name);
21
22private:
23
24};
25
26#endif // ANDROID_SSM_FILE_H
27