Commit 7a71f81c authored by Jan Möbius's avatar Jan Möbius
Browse files

Remote com port globaloption

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@12681 383ad7c9-94d9-4d36-a494-682f7c89f535
parent f1eed9d5
...@@ -204,6 +204,8 @@ static char *** argv_; ...@@ -204,6 +204,8 @@ static char *** argv_;
static bool remoteControl_ = false; static bool remoteControl_ = false;
static int remoteControlPort_ = 2000;
# if __WORDSIZE == 64 # if __WORDSIZE == 64
const bool is64 = true; const bool is64 = true;
#else #else
...@@ -710,6 +712,14 @@ void remoteControl(bool _remote){ ...@@ -710,6 +712,14 @@ void remoteControl(bool _remote){
remoteControl_ = _remote; remoteControl_ = _remote;
} }
int remoteControlPort(){
return remoteControlPort_;
}
void remoteControlPort(int _remotePort){
remoteControlPort_ = _remotePort;
}
void doSlotDebugging( bool _debugging ) { void doSlotDebugging( bool _debugging ) {
doSlotDebugging_ = _debugging; doSlotDebugging_ = _debugging;
} }
......
...@@ -698,6 +698,14 @@ bool remoteControl(); ...@@ -698,6 +698,14 @@ bool remoteControl();
DLLEXPORT DLLEXPORT
void remoteControl( bool _remote ); void remoteControl( bool _remote );
/// Get the remote control port
DLLEXPORT
int remoteControlPort();
/// Set the remote control port
DLLEXPORT
void remoteControlPort(int _remotePort);
//=========================================================================== //===========================================================================
/** @name Debugging Options /** @name Debugging Options
* @{ */ * @{ */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment