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