X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSUPERVGUI%2FSUPERVGUI.h;h=eb8e90359c2df7fea26df532c2c2bce0f5fa3d35;hb=cbb0219fe6d6bf11f98f2306c2855fef1eaa2d44;hp=06c87a561bcb2680feb93d1acaff5bcf1c1ff318;hpb=e4b2f8f88a294e451364a8b84d170a59dcbb5d3f;p=modules%2Fsuperv.git diff --git a/src/SUPERVGUI/SUPERVGUI.h b/src/SUPERVGUI/SUPERVGUI.h index 06c87a5..eb8e903 100644 --- a/src/SUPERVGUI/SUPERVGUI.h +++ b/src/SUPERVGUI/SUPERVGUI.h @@ -100,6 +100,14 @@ class SUPERVGUI: public SALOMEGUI { */ void whatIsSelected(const Handle(SALOME_InteractiveObject)& theObj, bool& theIsOwner, bool& theIsDataflow); + /* asv : bug [VSR Bugs and Improvements in Supervisor] 1.8 : when exporting a file, + a backup copy of an existing file must be created (in case Export fails..) + This method creates a backup file and returns its name or QString::null if it fails + Function is static because it is called from + SUPERVGUI::exportDataflow() and SUPERVGUI_CanvasMacroNode::exportDataflow() + */ + static QString createBackupFile( const QString& theOriginalFileName ); + signals: void KillMainThread(bool theValue);