view libgui/src/m-editor/file-editor-interface.h @ 16443:7a2ee6ea7800

rename dbstop -> breakpoint in GUI interface functions * file-editor-interface.h (file_editor_interface::handle_update_breakpoint_marker_request): Rename from file_editor_interface::handle_update_dbstop_marker_request. * file-editor-tab.h, file-editor-tab.cc (file_editor_tab::do_breakpoint_marker): Rename from file_editor_tab::do_dbstop_marker. Change all uses. * file-editor.h, file-editor.cc (file_editor::handle_update_breakpoint_marker_request): Rename from file_editor::handle_update_dbstop_marker_request. Change all uses. diff --git a/libgui/src/octave-qt-link.cc b/libgui/src/octave-qt-link.cc * octave-qt-link.h (octave_qt_link::update_breakpoint_marker_signal): Rename from octave_qt_link::update_dbstop_marker_signal. Change all uses.
author John W. Eaton <jwe@octave.org>
date Sat, 06 Apr 2013 13:06:40 -0400
parents a971d8bdaadc
children 744ff2fe11ce
line wrap: on
line source

/*

Copyright (C) 2011-2012 Jacob Dawid

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/>.

*/

#ifndef FILEEDITORINTERFACE_H
#define FILEEDITORINTERFACE_H

#include <QMenu>
#include <QToolBar>
#include "octave-dock-widget.h"

class file_editor_interface : public octave_dock_widget
{
  Q_OBJECT

  public:
  file_editor_interface (QWidget *p)
    : octave_dock_widget (p)
  {
    setObjectName ("FileEditor");
  }

  virtual ~file_editor_interface () { }

  virtual QMenu *get_mru_menu ( ) = 0;
  virtual QMenu *debug_menu () = 0;
  virtual QToolBar *toolbar () = 0;

  virtual void handle_enter_debug_mode (void) = 0;
  virtual void handle_exit_debug_mode (void) = 0;

  virtual void
  handle_insert_debugger_pointer_request (const QString& file, int line) = 0;

  virtual void
  handle_delete_debugger_pointer_request (const QString& file, int line) = 0;

  virtual void
  handle_update_breakpoint_marker_request (bool insert, const QString& file,
                                           int line) = 0;

  virtual void handle_edit_file_request (const QString& file) = 0;

  virtual void set_focus () = 0;

public slots:
  virtual void request_new_file () = 0;
  virtual void request_open_file () = 0;
  virtual void request_open_file (const QString& openFileName, int line = -1,
                                  bool debug_pointer = false,
                                  bool breakpoint_marker = false,
                                  bool insert = true) = 0;
//signals:

//protected:

//protected slots:

};

#endif // FILEEDITORINTERFACE_H