Move select device to utils

This commit is contained in:
John Zhao
2018-04-20 12:44:23 +08:00
parent a3f90d31c7
commit 3899b020b8
5 changed files with 78 additions and 66 deletions

22
include/mynteye/utils.h Normal file
View File

@@ -0,0 +1,22 @@
#ifndef MYNTEYE_UTILS_H_ // NOLINT
#define MYNTEYE_UTILS_H_
#pragma once
#include <memory>
#include "mynteye/mynteye.h"
MYNTEYE_BEGIN_NAMESPACE
class Device;
namespace device {
/** Detecting MYNT EYE devices and prompt user to select one */
std::shared_ptr<Device> select();
} // namespace device
MYNTEYE_END_NAMESPACE
#endif // MYNTEYE_UTILS_H_ NOLINT