refactor: Refactorized whole project structure
This commit is contained in:
17
source/classes/python/Mds.h
Normal file
17
source/classes/python/Mds.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef _PYMDS_H
|
||||
#define _PYMDS_H
|
||||
|
||||
#include <pybind11/embed.h>
|
||||
#include "squirrel/Mds.h"
|
||||
namespace py = pybind11;
|
||||
|
||||
class PyMds
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
static int id(std::string mdsName) { return nonut::Mds::get()->id(mdsName); }
|
||||
static std::string name(int mdsId) { return nonut::Mds::get()->name(mdsId); }
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user