@@ -22,8 +22,8 @@ namespace bin2cpp
2222 // /<param name="iInputFilename">The path of the input file (resource) to embeded as a C++ source code.</param>
2323 // /<param name="iHeaderFilePath">The path of the header file (*.h) that is used for getting access to the functions.</param>
2424 // /<param name="iFunctionIdentifier">The unique identifier name for each data accessor functions.</param>
25- // /<returns>Returns an enum of type ErrorCodes which defines the results .</returns>
26- virtual bin2cpp::ErrorCodes createCppHeaderFile (const char * iInputFilename, const char * iHeaderFilePath, const char * iFunctionIdentifier) = 0;
25+ // /<returns>Returns true when the file was created. Returns false otherwise .</returns>
26+ virtual bool createCppHeaderFile (const char * iInputFilename, const char * iHeaderFilePath, const char * iFunctionIdentifier) = 0;
2727
2828 // /<summary>
2929 // /Creates a cpp source file for embedding a given file into C++ source code.
@@ -32,8 +32,8 @@ namespace bin2cpp
3232 // /<param name="iCppFilePath">The path of the source file (*.cpp) that is used for getting access to the functions.</param>
3333 // /<param name="iFunctionIdentifier">The unique identifier name for each data accessor functions.</param>
3434 // /<param name="iChunkSize">The size in bytes of each chunk of data.</param>
35- // /<returns>Returns an enum of type ErrorCodes which defines the results .</returns>
36- virtual bin2cpp::ErrorCodes createCppSourceFile (const char * iInputFilename, const char * iCppFilePath, const char * iFunctionIdentifier, size_t iChunkSize) = 0;
35+ // /<returns>Returns true when the file was created. Returns false otherwise .</returns>
36+ virtual bool createCppSourceFile (const char * iInputFilename, const char * iCppFilePath, const char * iFunctionIdentifier, size_t iChunkSize) = 0;
3737 };
3838
3939}; // bin2cpp
0 commit comments