42 lines
950 B
C++
42 lines
950 B
C++
/*
|
|
* Generated by erpcgen 1.14.0 on Tue Apr 28 12:01:23 2026.
|
|
*
|
|
* AUTOGENERATED - DO NOT EDIT
|
|
*/
|
|
|
|
|
|
#if !defined(_file_service_interface_hpp_)
|
|
#define _file_service_interface_hpp_
|
|
|
|
#include "file_service_common.hpp"
|
|
|
|
namespace erpcShim
|
|
{
|
|
|
|
|
|
// Abstract base class for file_service
|
|
class file_service_interface
|
|
{
|
|
public:
|
|
static const uint8_t m_serviceId = 2;
|
|
static const uint8_t m_fileWriteBeginId = 1;
|
|
static const uint8_t m_fileWriteChunkId = 2;
|
|
static const uint8_t m_fileWriteEndId = 3;
|
|
static const uint8_t m_fileWriteAbortId = 4;
|
|
|
|
virtual ~file_service_interface(void);
|
|
|
|
virtual int32_t fileWriteBegin(const char * path, uint32_t total_size) = 0;
|
|
|
|
virtual int32_t fileWriteChunk(const binary_t * data) = 0;
|
|
|
|
virtual int32_t fileWriteEnd(void) = 0;
|
|
|
|
virtual int32_t fileWriteAbort(void) = 0;
|
|
private:
|
|
};
|
|
} // erpcShim
|
|
|
|
|
|
#endif // _file_service_interface_hpp_
|