door_cmd.h
来自「嵌入式LINUX的智能家居系统源码」· C头文件 代码 · 共 34 行
H
34 行
#include<qtimer.h>#include"cmd_config.h"class door_cmd : public QObject{ Q_OBJECTpublic: door_cmd(); ~door_cmd();//can user common slots and signalspublic slots: void cmd_proxy(int cmd_t);//cmd directly from KER_BOARD,indirectly from KER_BOARD cmd and PDA cmd //and will receive cmd signals from local button push //and local executer //and can-from cmds from ker_cmd or indirectly from pda-cmd//these signals will send cmds to where it should besignals: void sig_cmd_local_audio(int);//cmds to local audio void sig_cmd_local_video(int);//cmds to local video void sig_cmd_local_motor(int); void sig_cmd_local_can(int);//sig cmd to local can,to control it void sig_cmd_local_ui(int); void sig_cmd_ker(int cmd_t); //ker_cmd will pass it to pda or treat it locally according to cmd_t's //to part//following is if door_cmd is connected to ker_cmdprivate: bool KER_connected; void ker_connecting();//if there is a connect request from ker_cmd,cmd_proxy will call this function};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?