Jelajahi Sumber

Z991239-1781 #comment other msgType分类

陈良瑜80374463 4 tahun lalu
induk
melakukan
6a511cd2f1
1 mengubah file dengan 8 tambahan dan 0 penghapusan
  1. 8 0
      Module/mod_chromium/MessageType.h

+ 8 - 0
Module/mod_chromium/MessageType.h

@@ -22,6 +22,14 @@ enum MessageType : int
 	GetVarAck = 14,      //get sysvar response
 	Broadcast = 15,		//broadcast msg to other entity
 	GetSession = 16,	//chromium session info
+	// 0x00 00 00 00 - 0x00 00 FF FF	 for web to binary, communicate with other entity
+	
+
+	// 0x00 01 00 00 - 0x00 01 FF FF	 for web to chromium
+	WEB_CHROMIUM_MSG_BEGIN = 0x00010000,
+	RegisterNotify = 0x00010001, //web register Notify Msg
+	UnRegisterNotify, //web unregister Notify
+	WEB_CHROMIUM_MSG_END = 0x0001FFFF,
 };
 
 #define PARAMLIST_HEAD	"{e12a3dc0-3a0b-47c4-a8c3-75190a42ae68}"