Commit dc20e6d7 authored by claes's avatar claes

Conversion to V4.5.1 (names on all object)

parent 52c471f9
This diff is collapsed.
/*
* Proview $Id: ge_graph.cpp,v 1.52 2008-05-13 13:59:02 claes Exp $
* Proview $Id: ge_graph.cpp,v 1.53 2008-06-26 13:23:59 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -459,10 +459,10 @@ int Graph::save( char *filename)
int sts;
grow_GetVersion( grow->ctx, &grow_version, &graph_version);
if ( graph_version < 4000) {
if ( graph_version < 4500) {
// Needs to be converted
message( 'E', "Unable to save, graph needs conversion");
return 0;
return GE__NEEDCONV;
}
get_filename( filename, fname);
......@@ -485,10 +485,10 @@ int Graph::save_subgraph( char *filename)
int sts;
grow_GetVersion( grow->ctx, &grow_version, &graph_version);
if ( graph_version < 4000) {
if ( graph_version < 4500) {
// Needs to be converted
message( 'E', "Unable to save, graph needs conversion");
return 0;
return GE__NEEDCONV;
}
get_filename( filename, fname);
......@@ -526,7 +526,7 @@ void Graph::open( char *filename)
strcpy( this->filename, filename);
grow_GetVersion( grow->ctx, &grow_version, &graph_version);
if ( graph_version < 4000) {
if ( graph_version < 4500) {
// Needs to be converted
message( 'E', "Old version, graph needs conversion");
}
......
/*
* Proview $Id: ge_graph_command.cpp,v 1.13 2007-05-07 14:35:03 claes Exp $
* Proview $Id: ge_graph_command.cpp,v 1.14 2008-06-26 13:23:59 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -2308,7 +2308,7 @@ static int graph_convert_func( void *client_data,
int arg1_sts;
arg1_sts = dcli_get_qualifier( "dcli_arg1", arg1_str, sizeof(arg1_str));
if ( strncmp( arg1_str, "V40", strlen( arg1_str)) == 0) {
if ( strncmp( arg1_str, "V45", strlen( arg1_str)) == 0) {
char name[40];
char msg[80];
int sts;
......
/*
* Proview $Id: glow.h,v 1.26 2008-05-13 13:59:02 claes Exp $
* Proview $Id: glow.h,v 1.27 2008-06-26 13:23:59 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -40,7 +40,7 @@ extern "C" {
#endif
#define GLOW_VERSION 4001
#define GLOW_VERSION 4510
#define DRAW_MP 6
#define DRAW_TYPE_SIZE 9
......
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