QtExamples/QtCustomStyleEx/ExMyGlobal.h

36 lines
1.2 KiB
C

/*
* Copyright (C) 2019 ~ 2019 touwoyimuli. All rights reserved.
*
* Author: touwoyimuli <touwoyimuli@gmai.com>
*
* github: https://github.com/touwoyimuli
* blogs: https://touwoyimuli.github.io/
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://touwoyimuli.github.io/>.
*/
#ifndef EXMYGLOBAL_H
#define EXMYGLOBAL_H
//定义命名空间宏
#define EXWIDGET_BEGIN_NAMESPACE namespace ExPlumStyle {
#define EXWIDGET_END_NAMESPACE }
#define EXWIDGET_USE_NAMESPACE using namespace ExPlumStyle;
//ExPlumStyle命名空间里面嵌套的的子命名空间
#define EXDRAWUTILS_BEGIN_NAMESPACE namespace ExDrawUtils {
#define EXDRAWUTILS_END_NAMESPACE }
#endif // EXMYGLOBAL_H