Clean up includes of user_interface.hh
This commit is contained in:
parent
0dff8a7d3f
commit
2fd1414b05
|
@ -121,6 +121,12 @@ void Client::print_status(DisplayLine status_line, bool immediate)
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
DisplayCoord Client::dimensions() const
|
||||
{
|
||||
return m_ui->dimensions();
|
||||
}
|
||||
|
||||
DisplayLine Client::generate_mode_line() const
|
||||
{
|
||||
DisplayLine modeline;
|
||||
|
|
|
@ -8,16 +8,19 @@
|
|||
#include "utils.hh"
|
||||
#include "option_manager.hh"
|
||||
#include "enum.hh"
|
||||
#include "user_interface.hh"
|
||||
|
||||
namespace Kakoune
|
||||
{
|
||||
|
||||
class Window;
|
||||
class UserInterface;
|
||||
class String;
|
||||
struct Key;
|
||||
|
||||
enum class EventMode;
|
||||
enum class InfoStyle;
|
||||
enum class MenuStyle;
|
||||
|
||||
|
||||
class Client : public SafeCountable, public OptionManagerWatcher
|
||||
{
|
||||
|
@ -43,7 +46,7 @@ public:
|
|||
|
||||
void print_status(DisplayLine status_line, bool immediate = false);
|
||||
|
||||
DisplayCoord dimensions() const { return m_ui->dimensions(); }
|
||||
DisplayCoord dimensions() const;
|
||||
|
||||
void force_redraw();
|
||||
void redraw_ifn();
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
#include "regex.hh"
|
||||
#include "shell_manager.hh"
|
||||
#include "string.hh"
|
||||
#include "user_interface.hh"
|
||||
#include "window.hh"
|
||||
|
||||
#include <functional>
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
#include "regex.hh"
|
||||
#include "register_manager.hh"
|
||||
#include "unordered_map.hh"
|
||||
#include "user_interface.hh"
|
||||
#include "utf8.hh"
|
||||
#include "window.hh"
|
||||
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
#include "window.hh"
|
||||
#include "word_db.hh"
|
||||
#include "utf8_iterator.hh"
|
||||
#include "user_interface.hh"
|
||||
|
||||
#include <numeric>
|
||||
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
#include "selectors.hh"
|
||||
#include "shell_manager.hh"
|
||||
#include "string.hh"
|
||||
#include "user_interface.hh"
|
||||
#include "window.hh"
|
||||
|
||||
namespace Kakoune
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
#include "event_manager.hh"
|
||||
#include "file.hh"
|
||||
#include "id_map.hh"
|
||||
#include "user_interface.hh"
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
|
|
|
@ -1,10 +1,8 @@
|
|||
#ifndef remote_hh_INCLUDED
|
||||
#define remote_hh_INCLUDED
|
||||
|
||||
#include "coord.hh"
|
||||
#include "env_vars.hh"
|
||||
#include "exception.hh"
|
||||
#include "user_interface.hh"
|
||||
#include "utils.hh"
|
||||
|
||||
#include <memory>
|
||||
|
@ -20,6 +18,7 @@ struct remote_error : runtime_error
|
|||
};
|
||||
|
||||
class FDWatcher;
|
||||
class UserInterface;
|
||||
|
||||
// A remote client handle communication between a client running on the server
|
||||
// and a user interface running on the local process.
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
#define user_interface_hh_INCLUDED
|
||||
|
||||
#include "array_view.hh"
|
||||
#include "safe_ptr.hh"
|
||||
#include "id_map.hh"
|
||||
|
||||
#include <functional>
|
||||
|
@ -36,7 +35,7 @@ enum class EventMode;
|
|||
|
||||
using InputCallback = std::function<void(EventMode mode)>;
|
||||
|
||||
class UserInterface : public SafeCountable
|
||||
class UserInterface
|
||||
{
|
||||
public:
|
||||
virtual ~UserInterface() {}
|
||||
|
|
Loading…
Reference in New Issue
Block a user