/* * SPDX-FileCopyrightText: 2022 Unisoc (Shanghai) Technologies Co., Ltd. * * SPDX-License-Identifier: LicenseRef-Unisoc-General-1.0 * * nativemmi.cpp * Created on: 2022/03/25 * Author: etham.li@unisoc.com */ #include #include #include #include #include #include #include "NativeLog.h" #include "CControlMgr.h" /***** Function: main() Description: This is entry point for nativemmi. *****/ int main(int argc, char* argv[]) { CControlMgr* ccontrolmgr = new CControlMgr(); if (ccontrolmgr->BeginRun() < 0) { return -1; } if (argc == 1) { while (true) { sleep(1); } } return 0; }