add some annotate

This commit is contained in:
chenhaijian 2024-07-12 22:28:35 +08:00
parent 2477158095
commit dc4996eeea
4 changed files with 11 additions and 2 deletions

View File

@ -65,7 +65,6 @@ extern "C"
#define LOGE(...)
#define LOGF(...)
#endif
typedef struct i_log ILog;
typedef struct i_log
{
void (*init)(ILog *, const enum LogInstance);

View File

@ -16,6 +16,11 @@
#define ILOGCPP_H
#include "ILog.h"
#include <memory>
/**
* @brief Abstract interface class
* If you want to add additional functions, you can derive a class from it to
* meet the product requirements.
*/
class ILogCpp
{
public:

View File

@ -12,6 +12,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* @brief Create a log instance
*
*/
#ifndef ILOG_MAKE_PTR_H
#define ILOG_MAKE_PTR_H
#include "ILogCpp.h"