lichao
2021-05-10 77a6c3512a44dfe6540dde71946e6484fe4f173f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
 * =====================================================================================
 *
 *       Filename:  box.h
 *
 *    Description:  
 *
 *        Version:  1.0
 *        Created:  2021年04月13日 16时12分44秒
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  Li Chao (), lichao@aiotlink.com
 *   Organization:  
 *
 * =====================================================================================
 */
#ifndef BOX_L3FWJE7T
#define BOX_L3FWJE7T
#include <functional>
#include <string>
 
typedef std::function<int(int, const char *argv[])> MainFunc;
bool BoxInstall(const std::string &name, MainFunc const &func, const std::string &desc);
bool BoxFind(const std::string &name, MainFunc &func);
 
#endif // end of include guard: BOX_L3FWJE7T