Commit 7a3a805e authored by claes's avatar claes

Quiet arg added to lfu_SaveDirectoryVolume

parent 81f18a20
/*
* Proview $Id: wb_cmd_main.cpp,v 1.3 2008-06-25 07:55:13 claes Exp $
* Proview $Id: wb_cmd_main.cpp,v 1.4 2008-10-15 06:06:14 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -195,7 +195,7 @@ int Cmd::detach_volume_cb( void *ctx)
return cmd->detach_volume();
}
void Cmd::save_cb( void *ctx)
void Cmd::save_cb( void *ctx, int quiet)
{
Cmd *cmd = (Cmd *) ctx;
int sts;
......@@ -217,7 +217,7 @@ void Cmd::save_cb( void *ctx)
ldh_GetVolumeClass( cmd->wbctx, info.Volume, &volcid);
if ( volcid == pwr_eClass_DirectoryVolume) {
sts = lfu_SaveDirectoryVolume( cmd->ldhses, 0);
sts = lfu_SaveDirectoryVolume( cmd->ldhses, 0, quiet);
if ( EVEN(sts)) {
cmd->wnav->message( 'E', "Syntax error");
return;
......
/*
* Proview $Id: wb_cmdc.h,v 1.1 2007-01-04 07:29:02 claes Exp $
* Proview $Id: wb_cmdc.h,v 1.2 2008-10-15 06:06:14 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -64,7 +64,7 @@ class Cmd {
pwr_tVolumeId volid,
int pop);
static int detach_volume_cb( void *ctx);
static void save_cb( void *ctx);
static void save_cb( void *ctx, int quiet);
static void revert_ok( Cmd *cmd);
static void revert_cb( void *ctx, int confirm);
static void close_cb( void *ctx);
......
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