c++消息映射处处理函数(相似表驱动或者消息映射)

头文件,消息定义,函数指针声明、处理函数声明、消息产生函数声明:git #ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> #include <QDebug> #include <map> namespace Ui { class MainWindow; } enum Msg //消息声明 { Msg_0 = 0
相关文章
相关标签/搜索