view libinterp/corefcn/ls-oct-binary.h @ 16912:6bd74153c3ae

no native dialogs to prevent hangs in KDE (patch #7948 by Andre da Costa Barros) * main-window.cc(handle_save_workspace_request,handle_load_workspace_request, browse_for_directory): open the dialogs as qt instead native dialogs * file-editor.cc(request_open_file): configure the file dialog not being native * file-editor-tab.cc(save_file_as): configure the file dialog not being native * files-Dock-widget.cc(popdownmenu_search_dir): search dir dialog not native
author Torsten <ttl@justmail.de>
date Sun, 07 Jul 2013 19:07:23 +0200
parents 68fc671a9339
children d63878346099
line wrap: on
line source

/*

Copyright (C) 2003-2012 John W. Eaton

This file is part of Octave.

Octave is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3 of the License, or (at your
option) any later version.

Octave is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
for more details.

You should have received a copy of the GNU General Public License
along with Octave; see the file COPYING.  If not, see
<http://www.gnu.org/licenses/>.

*/

#if !defined (octave_ls_oct_binary_h)
#define octave_ls_oct_binary_h 1

extern OCTINTERP_API bool
save_binary_data (std::ostream& os, const octave_value& tc,
                  const std::string& name, const std::string& doc,
                  bool mark_as_global, bool save_as_floats);

extern OCTINTERP_API std::string
read_binary_data (std::istream& is, bool swap,
                  oct_mach_info::float_format fmt,
                  const std::string& filename, bool& global,
                  octave_value& tc, std::string& doc);

#endif