 |
OpendTect
6.6
|
Go to the documentation of this file.
13 #define mDecluiGoogleExpStd \
14 uiFileInput* fnmfld_; \
15 bool acceptOK(CallBacker*)
17 #define mImplFileNameFld(nm) \
18 BufferString deffnm( nm ); \
19 deffnm.clean( BufferString::AllowDots ); \
20 FilePath deffp( GetDataDir() ); deffp.add( deffnm ).setExtension( "kml" ); \
21 uiFileInput::Setup fiinpsu( uiFileDialog::Gen, deffp.fullPath() ); \
22 fiinpsu.forread( false ).filter( "*.kml" ); \
23 fnmfld_ = new uiFileInput( this, uiStrings::phrOutput(uiStrings::sFile()),\
27 #define mCreateWriter(typ,survnm) \
28 const BufferString fnm( fnmfld_->fileName() ); \
29 if ( fnm.isEmpty() ) \
30 { uiMSG().error(tr("please enter the output file name")); \
33 ODGoogle::XMLWriter wrr( typ, fnm, survnm ); \
35 { uiMSG().error(wrr.errMsg()); return false; }
Generated at
for the OpendTect
seismic interpretation project.
Copyright (C): dGB Beheer B.V. 1995-2021