some update
This commit is contained in:
		
							
								
								
									
										12
									
								
								main.cpp
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								main.cpp
									
									
									
									
									
								
							| @@ -4,20 +4,12 @@ | ||||
|  | ||||
| #include "stompframe.h" | ||||
| #include "stomp.h" | ||||
| #include "app.h" | ||||
|  | ||||
| int main(int argc, char *argv[]) { | ||||
|     QApplication application(argc, argv); | ||||
|  | ||||
|     Stomp st; | ||||
|     st.connectRequest("sdi.hevs.ch", 61614, "/", "sdi10", "809c02f36becb0868da98761fe3209f6"); | ||||
|  | ||||
|     st.sendRequest("/topic/sdi10.gem.command", "right"); | ||||
|  | ||||
|     st.sendRequest("/topic/sdi10.gem.command", "up"); | ||||
|  | ||||
|     st.sendRequest("/topic/sdi10.gem.command", "left"); | ||||
|  | ||||
|     st.sendRequest("/topic/sdi10.gem.command", "down"); | ||||
|     App app; | ||||
|  | ||||
|     return application.exec(); | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user