"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/startprogop.h" between
worker-4.0.1.tar.bz2 and worker-4.1.0.tar.bz2

About: Worker is a file manager for the X Window System with the classical two panel interface.

startprogop.h  (worker-4.0.1.tar.bz2):startprogop.h  (worker-4.1.0.tar.bz2)
/* startprogop.h /* startprogop.h
* This file belongs to Worker, a file manager for UN*X/X11. * This file belongs to Worker, a file manager for UN*X/X11.
* Copyright (C) 2001-2014 Ralf Hoffmann. * Copyright (C) 2001-2019 Ralf Hoffmann.
* You can contact me at: ralf@boomerangsworld.de * You can contact me at: ralf@boomerangsworld.de
* or http://www.boomerangsworld.de/worker * or http://www.boomerangsworld.de/worker
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or * the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
skipping to change at line 28 skipping to change at line 28
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#ifndef STARTPROGOP_H #ifndef STARTPROGOP_H
#define STARTPROGOP_H #define STARTPROGOP_H
#include "wdefines.h" #include "wdefines.h"
#include "functionproto.h" #include "functionproto.h"
#include <memory> #include <memory>
#include "ajson.hh"
class FlatTypeList; class FlatTypeList;
class AWindow; class AWindow;
class PersistentStringList; class PersistentStringList;
class ChooseButton; class ChooseButton;
class Button; class Button;
class StartProgOp:public FunctionProto class StartProgOp:public FunctionProto
{ {
public: public:
skipping to change at line 152 skipping to change at line 153
startprogstart_t _start; startprogstart_t _start;
std::string _view_str; std::string _view_str;
bool _global; bool _global;
bool _inbackground; bool _inbackground;
bool _dontcd; bool _dontcd;
}; };
std::unique_ptr< StartSettings > showGUI(); std::unique_ptr< StartSettings > showGUI();
void updateCompletionList( const std::string &base, void updateCompletionList( const std::string &base,
PersistentStringList &history ); PersistentStringList &history,
std::shared_ptr< AJSON::JSONType > &filetype_hist
ory );
void updateSGFromComplete( StringGadget *sg, void updateSGFromComplete( StringGadget *sg,
PersistentStringList &history, PersistentStringList &history,
std::shared_ptr< AJSON::JSONType > &filetype_hist ory,
FieldListView *lv ); FieldListView *lv );
void updateSGFromRow( int row, void updateSGFromRow( int row,
PersistentStringList &history ); PersistentStringList &history,
std::shared_ptr< AJSON::JSONType > &filetype_history )
;
void updateFiletypeHistory( std::shared_ptr< AJSON::JSONType > &filetype_his
tory,
const std::string &base );
std::string default_file; std::string default_file;
std::string m_default_file_filetype;
std::string gui_msg; std::string gui_msg;
std::list< std::string > m_current_completions; enum completion_type {
FILETYPE_COMPLETION,
ANY_COMPLETION
};
std::list< std::pair< completion_type, std::string > > m_current_completions
;
std::string m_current_original_file; std::string m_current_original_file;
bool m_completion_enabled; bool m_completion_enabled;
std::string m_previous_sg_content; std::string m_previous_sg_content;
StringGadget *m_cmd_sg; StringGadget *m_cmd_sg;
FieldListView *m_completion_lv; FieldListView *m_completion_lv;
Button *m_cmd_flag_b; Button *m_cmd_flag_b;
}; };
#endif #endif
 End of changes. 7 change blocks. 
4 lines changed or deleted 20 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)