Changeset 39:44eda5bbbdfb in xplra for src/plugin
- Timestamp:
- 02/14/13 16:09:27 (12 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- src/plugin/src/xplra
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
src/plugin/src/xplra/Makefile.am
r38 r39 17 17 GetMultiDataRefRequest.cc \ 18 18 SetMultiDataRefRequest.cc \ 19 ReloadPluginsRequest.cc \ 19 20 MessageWindow.cc \ 20 21 MessageRequest.cc … … 34 35 GetMultiDataRefRequest.h \ 35 36 SetMultiDataRefRequest.h \ 37 ReloadPluginsRequest.h \ 36 38 MessageWindow.h \ 37 39 MessageRequest.h -
src/plugin/src/xplra/Protocol.h
r38 r39 97 97 98 98 /** 99 * Command: reload the plugins 100 */ 101 static const uint8_t COMMAND_RELOAD_PLUGINS = 0x32; 102 103 /** 99 104 * Command: show a message in the message window. 100 105 */ -
src/plugin/src/xplra/ServerThread.cc
r38 r39 39 39 #include "GetMultiDataRefRequest.h" 40 40 #include "SetMultiDataRefRequest.h" 41 #include "ReloadPluginsRequest.h" 41 42 #include "MessageRequest.h" 42 43 … … 153 154 } else if (command==Protocol::COMMAND_GET_VERSIONS) { 154 155 if (!handleGetVersions()) break; 156 } else if (command==Protocol::COMMAND_RELOAD_PLUGINS) { 157 if (!handleReloadPlugins()) break; 155 158 } else if (command==Protocol::COMMAND_SHOW_MESSAGE) { 156 159 if (!handleShowMessage()) break; … … 409 412 //------------------------------------------------------------------------------ 410 413 414 bool ServerThread::handleReloadPlugins() 415 { 416 ReloadPluginsRequest request; 417 if (!requestQueue.execute(&request)) return false; 418 419 stream.writeU8(Protocol::RESULT_OK); 420 421 return true; 422 } 423 424 //------------------------------------------------------------------------------ 425 411 426 bool ServerThread::handleShowMessage() 412 427 { -
src/plugin/src/xplra/ServerThread.h
r38 r39 243 243 244 244 /** 245 * Handle the COMMAND_RELOAD_PLUGINS command. 246 * 247 * @return true, if we can continue, false if the thread should quit 248 */ 249 bool handleReloadPlugins(); 250 251 /** 245 252 * Handle the COMMAND_SHOW_MESSAGE command 246 253 *
Note:
See TracChangeset
for help on using the changeset viewer.