mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:57:44 +00:00
Add clang-format file
Also run it across the whole tree to get everything using the One True Style. We don't yet run this in an automated fashion as it's a little slow, but there is a snippet to do so in makeall.sh.
This commit is contained in:
parent
c11351ac50
commit
0dc9af5f7e
286 changed files with 3244 additions and 2424 deletions
|
@ -1,9 +1,9 @@
|
|||
#pragma once
|
||||
|
||||
#include <LibGUI/GWindow.h>
|
||||
#include <LibGUI/GWidget.h>
|
||||
#include "IRCClient.h"
|
||||
#include "IRCWindow.h"
|
||||
#include <LibGUI/GWidget.h>
|
||||
#include <LibGUI/GWindow.h>
|
||||
|
||||
class GAction;
|
||||
class GStackWidget;
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
#pragma once
|
||||
|
||||
#include "IRCLogBuffer.h"
|
||||
#include <AK/AKString.h>
|
||||
#include <AK/CircularQueue.h>
|
||||
#include <AK/Vector.h>
|
||||
#include <AK/Retainable.h>
|
||||
#include <AK/RetainPtr.h>
|
||||
#include "IRCLogBuffer.h"
|
||||
#include <AK/Retainable.h>
|
||||
#include <AK/Vector.h>
|
||||
|
||||
class IRCClient;
|
||||
class IRCChannelMemberListModel;
|
||||
|
|
|
@ -1,13 +1,16 @@
|
|||
#pragma once
|
||||
|
||||
#include <LibGUI/GModel.h>
|
||||
#include <AK/Function.h>
|
||||
#include <LibGUI/GModel.h>
|
||||
|
||||
class IRCChannel;
|
||||
|
||||
class IRCChannelMemberListModel final : public GModel {
|
||||
public:
|
||||
enum Column { Name };
|
||||
enum Column
|
||||
{
|
||||
Name
|
||||
};
|
||||
static Retained<IRCChannelMemberListModel> create(IRCChannel& channel) { return adopt(*new IRCChannelMemberListModel(channel)); }
|
||||
virtual ~IRCChannelMemberListModel() override;
|
||||
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
#pragma once
|
||||
|
||||
#include <AK/AKString.h>
|
||||
#include <AK/HashMap.h>
|
||||
#include <AK/CircularQueue.h>
|
||||
#include <AK/Function.h>
|
||||
#include <LibCore/CTCPSocket.h>
|
||||
#include <LibCore/CConfigFile.h>
|
||||
#include "IRCLogBuffer.h"
|
||||
#include "IRCWindow.h"
|
||||
#include <AK/AKString.h>
|
||||
#include <AK/CircularQueue.h>
|
||||
#include <AK/Function.h>
|
||||
#include <AK/HashMap.h>
|
||||
#include <LibCore/CConfigFile.h>
|
||||
#include <LibCore/CTCPSocket.h>
|
||||
|
||||
class IRCChannel;
|
||||
class IRCQuery;
|
||||
|
@ -17,6 +17,7 @@ class CNotifier;
|
|||
class IRCClient final : public CObject {
|
||||
friend class IRCChannel;
|
||||
friend class IRCQuery;
|
||||
|
||||
public:
|
||||
IRCClient();
|
||||
virtual ~IRCClient() override;
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
#include <AK/AKString.h>
|
||||
#include <AK/CircularQueue.h>
|
||||
#include <AK/Retainable.h>
|
||||
#include <AK/RetainPtr.h>
|
||||
#include <AK/Retainable.h>
|
||||
#include <SharedGraphics/Color.h>
|
||||
|
||||
class IRCLogBufferModel;
|
||||
|
|
|
@ -6,7 +6,8 @@ class IRCLogBuffer;
|
|||
|
||||
class IRCLogBufferModel final : public GModel {
|
||||
public:
|
||||
enum Column {
|
||||
enum Column
|
||||
{
|
||||
Timestamp = 0,
|
||||
Name,
|
||||
Text,
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
#pragma once
|
||||
|
||||
#include "IRCLogBuffer.h"
|
||||
#include <AK/AKString.h>
|
||||
#include <AK/CircularQueue.h>
|
||||
#include <AK/Vector.h>
|
||||
#include <AK/Retainable.h>
|
||||
#include <AK/RetainPtr.h>
|
||||
#include "IRCLogBuffer.h"
|
||||
#include <AK/Retainable.h>
|
||||
#include <AK/Vector.h>
|
||||
|
||||
class IRCClient;
|
||||
class IRCWindow;
|
||||
|
|
|
@ -11,7 +11,8 @@ class GTextEditor;
|
|||
|
||||
class IRCWindow : public GWidget {
|
||||
public:
|
||||
enum Type {
|
||||
enum Type
|
||||
{
|
||||
Server,
|
||||
Channel,
|
||||
Query,
|
||||
|
|
|
@ -1,14 +1,15 @@
|
|||
#pragma once
|
||||
|
||||
#include <LibGUI/GModel.h>
|
||||
#include <AK/Function.h>
|
||||
#include <LibGUI/GModel.h>
|
||||
|
||||
class IRCClient;
|
||||
class IRCWindow;
|
||||
|
||||
class IRCWindowListModel final : public GModel {
|
||||
public:
|
||||
enum Column {
|
||||
enum Column
|
||||
{
|
||||
Name,
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue