VBoxManage.cpp revision ad27e1d5e48ca41245120c331cc88b50464813ce
153N/A * available from http://www.virtualbox.org. This file is free software;
153N/A#ifndef VBOX_ONLY_DOCS
153N/A#include "VBoxManage.h"
153N/A#ifndef VBOX_ONLY_DOCS
153N/Astatic volatile bool g_fCanceled = false;
using namespace com;
if (!g_fDetailedProgress)
bool fCanceledAlready = false;
if (fCancelable)
#ifdef SIGBREAK
if (g_fDetailedProgress)
RTStrmPrintf(g_pStdErr, "(%ld/%ld) %ls %ld%% => %ld%% (%d s remaining)\n", ulOperation + 1, cOperations, bstrOperationDescription.raw(), ulCurrentOperationPercent, ulCurrentPercent, lSecsRem);
for (ULONG curVal = (ulLastPercent / 10) * 10 + 10; curVal <= (ulCurrentPercent / 10) * 10; curVal += 10)
if (fCompleted)
fCanceledAlready = true;
g_fCanceled = false;
if (fCancelable)
#ifdef SIGBREAK
else if (g_fCanceled)
return iRc;
RTR3Init();
bool fShowLogo = false;
bool fShowHelp = false;
int iCmdArg;
fShowLogo = true;
fShowHelp = true;
iCmd++;
fShowLogo = false;
iCmd++;
if (fShowLogo)
#ifdef VBOX_ONLY_DOCS
int rc = 0;
using namespace com;
return rc;
char *converted;
if (converted)
const char *command;
} s_commandHandlers[] =
#ifdef VBOX_WITH_GUEST_PROPS
#ifdef VBOX_WITH_GUEST_CONTROL
#ifdef VBOX_WITH_NETFLT
int commandIndex;
if ( fShowHelp
return rc != 0;