1 2 /** 3 * Tencent is pleased to support the open source community by making MSEC available. 4 * 5 * Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. 6 * 7 * Licensed under the GNU General Public License, Version 2.0 (the "License"); 8 * you may not use this file except in compliance with the License. You may 9 * obtain a copy of the License at 10 * 11 * https://opensource.org/licenses/GPL-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, software distributed under the 14 * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 15 * either express or implied. See the License for the specific language governing permissions 16 * and limitations under the License. 17 */ 18 19 20 /** 21 * @file mt_msg.h 22 **/ 23 24 #ifndef __MT_MSG_H__ 25 #define __MT_MSG_H__ 26 27 namespace NS_MICRO_THREAD { 28 29 class IMtMsg 30 { 31 public: 32 33 virtual int HandleProcess() { return -1; }; 34 35 IMtMsg() {}; 36 virtual ~IMtMsg() {}; 37 }; 38 39 40 } 41 42 #endif 43 44