Commit e2e03878 authored by Claes Sjofors's avatar Claes Sjofors Committed by Claes Sjöfors

wbl print, added file header with version in wb_load and wb_dmp files

parent 6b2ad49b
......@@ -44,6 +44,7 @@
#include <assert.h>
#include <stdio.h>
#include "pwr_version.h"
#include "co_string.h"
#include "co_time.h"
......@@ -194,6 +195,12 @@ void wb_print_wbl::printVolume(wb_volume& v, bool recursive)
return;
}
char timstr[40];
time_AtoAscii(0, time_eFormat_DateAndTime, timstr, sizeof(timstr));
indent() << "! Generated by wb_print_wbl " << timstr << "\n";
indent() << "! Volume " << v.name() << " \n";
indent() << "! Version " pwrv_cPwrVersionStr "\n";
wb_object o = v.object();
const char* cname = v.cdef(v.cid()).name();
......
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