Add with api option

This commit is contained in:
John Zhao
2018-04-25 16:06:38 +08:00
parent 2dc470e14f
commit cd28fa58d3
7 changed files with 91 additions and 0 deletions

15
src/api/api.cc Normal file
View File

@@ -0,0 +1,15 @@
#include "api/api.h"
#include <glog/logging.h>
MYNTEYE_BEGIN_NAMESPACE
API::API() {
VLOG(2) << __func__;
}
API::~API() {
VLOG(2) << __func__;
}
MYNTEYE_END_NAMESPACE

17
src/api/api.h Normal file
View File

@@ -0,0 +1,17 @@
#ifndef MYNTEYE_API_H_ // NOLINT
#define MYNTEYE_API_H_
#pragma once
#include "mynteye/mynteye.h"
MYNTEYE_BEGIN_NAMESPACE
class MYNTEYE_API API {
public:
API();
~API();
};
MYNTEYE_END_NAMESPACE
#endif // MYNTEYE_API_H_ NOLINT