"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/normalops.h" between
worker-4.7.0.tar.bz2 and worker-4.8.0.tar.bz2

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

normalops.h  (worker-4.7.0.tar.bz2):normalops.h  (worker-4.8.0.tar.bz2)
/* normalops.h /* normalops.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-2020 Ralf Hoffmann. * Copyright (C) 2001-2021 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 91 skipping to change at line 91
bool isName(const char *) override; bool isName(const char *) override;
const char *getName() override; const char *getName() override;
int run( WPUContext *wpu, ActionMessage* ) override; int run( WPUContext *wpu, ActionMessage* ) override;
const char *getDescription() override; const char *getDescription() override;
bool save(Datei *) override; bool save(Datei *) override;
bool requestfilter( const std::string &fullname ); bool requestfilter( const std::string &fullname );
void setFilter( const char *str ); void setFilter( const char *str );
void setAutoFilter( const bool nv ); void setAutoFilter( const bool nv );
void setImmediateFilterApply( bool nv );
bool immediateFilterApply() const;
static std::list< std::string > getHistory(); static std::list< std::string > getHistory();
protected: protected:
static const char *name; static const char *name;
std::string m_filter; std::string m_filter;
std::string current_filter; std::string current_filter;
bool m_auto_filter = true; // when true, use the best match from bool m_auto_filter = true; // when true, use the best match from
// history or the file ending // history or the file ending
bool m_immediate_filter_apply = false;
void addHistoryItem( const std::string &str ); void addHistoryItem( const std::string &str );
static std::unique_ptr< PersistentStringList > m_history; static std::unique_ptr< PersistentStringList > m_history;
enum filter_select_mode { enum filter_select_mode {
FILTER_SELECT, FILTER_SELECT,
FILTER_DESELECT FILTER_DESELECT
}; };
void setMode( filter_select_mode nm ); void setMode( filter_select_mode nm );
private: private:
 End of changes. 3 change blocks. 
1 lines changed or deleted 5 lines changed or added

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