refactor: remove unneeded common/Common includes

This commit is contained in:
sithlord48
2025-08-17 20:31:26 -04:00
committed by Nick Bolton
parent a9e87d5ef5
commit bcb6c368b1
56 changed files with 29 additions and 61 deletions

View File

@ -8,10 +8,7 @@
#pragma once
#include "common/Common.h"
#include <stdexcept>
#include <string>
//! Generic thread exception
/*!

View File

@ -6,9 +6,9 @@
*/
#include "arch/ArchString.h"
#include "common/Common.h"
#include <climits>
#include <cstdlib>
#include <cstring>
#include <mutex>

View File

@ -8,9 +8,8 @@
#pragma once
#include "common/Common.h"
#include <stdarg.h>
#include <stdint.h>
//! Interface for architecture dependent string operations
/*!

View File

@ -8,8 +8,6 @@
#pragma once
#include "common/Common.h"
#include <functional>
#include <string>

View File

@ -9,7 +9,6 @@
#pragma once
#include "base/LogLevel.h"
#include "common/Common.h"
//! Interface for architecture dependent logging
/*!

View File

@ -8,7 +8,7 @@
#pragma once
#include "common/Common.h"
#include <cstdint>
/*!
\class ArchCondImpl

View File

@ -8,9 +8,8 @@
#pragma once
#include "common/Common.h"
#include <cstdint>
#include <string>
#include <vector>
class ArchThreadImpl;

View File

@ -11,6 +11,7 @@
#include "arch/ArchException.h"
#include "arch/unix/ArchMultithreadPosix.h"
#include "arch/unix/XArchUnix.h"
#include "common/Common.h"
#include <arpa/inet.h>
#include <cstring>

View File

@ -7,6 +7,9 @@
#include "base/Event.h"
#include <assert.h>
#include <cstdlib>
//
// Event
//

View File

@ -8,7 +8,6 @@
#pragma once
#include "EventTypes.h"
#include "common/Common.h"
using deskflow::EventTypes;

View File

@ -8,8 +8,6 @@
#pragma once
#include "common/Common.h"
class Event;
//! Event handler interface

View File

@ -10,7 +10,6 @@
#include "base/Event.h"
#include "base/EventTypes.h"
#include "common/Common.h"
#include <functional>
#include <string>

View File

@ -8,7 +8,8 @@
#pragma once
#include "common/Common.h"
#include <assert.h>
#include <cstdint>
class Event;
class EventQueueTimer;

View File

@ -8,8 +8,6 @@
#pragma once
#include "common/Common.h"
//! Job interface
/*!
A job is an interface for executing some function.

View File

@ -10,7 +10,6 @@
#include "base/Log.h"
#include "base/LogLevel.h"
#include "common/Common.h"
//! Outputter interface
/*!

View File

@ -9,6 +9,7 @@
#include "arch/Arch.h"
#include "base/LogLevel.h"
#include "base/LogOutputters.h"
#include "common/Common.h"
#include "common/Constants.h"
#include <cstdarg>

View File

@ -9,7 +9,6 @@
#include "arch/Arch.h"
#include "arch/IArchMultithread.h"
#include "common/Common.h"
#include <mutex>

View File

@ -9,7 +9,6 @@
#pragma once
#include "base/ILogOutputter.h"
#include "common/Common.h"
#include "mt/Thread.h"
//! Stop traversing log chain outputter

View File

@ -7,8 +7,6 @@
#pragma once
#include "common/Common.h"
//! A timer class
/*!
This class measures time intervals. All time interval measurement

View File

@ -11,6 +11,7 @@
#include <algorithm>
#include <cstdarg>
#include <cstdint>
#include <cstring>
#include <sstream>
#include <vector>

View File

@ -8,8 +8,6 @@
#pragma once
#include "common/Common.h"
#include <string>
//! std::string utilities

View File

@ -8,7 +8,7 @@
#pragma once
#include "arch/ArchString.h"
#include "common/Common.h"
#include <string>
//! Unicode utility functions

View File

@ -6,7 +6,6 @@
#pragma once
#include "common/Common.h"
#include "deskflow/ProtocolTypes.h"
#include "io/IStream.h"

View File

@ -8,6 +8,7 @@
#include "deskflow/AppUtil.h"
#include "algorithm"
#include <assert.h>
AppUtil *AppUtil::s_instance = nullptr;

View File

@ -6,9 +6,10 @@
#pragma once
#include "common/Common.h"
#include <base/Event.h>
#include <cstring>
class Chunk : public EventData
{
public:

View File

@ -6,7 +6,6 @@
#pragma once
#include "common/Common.h"
#include "deskflow/Chunk.h"
#include "deskflow/ClipboardTypes.h"
#include "deskflow/ProtocolTypes.h"

View File

@ -7,7 +7,7 @@
#pragma once
#include "common/Common.h"
#include <cstdint>
//! Clipboard ID
/*!

View File

@ -8,8 +8,6 @@
#pragma once
#include "common/Common.h"
using StartupFunc = int (*)(int, char **);
namespace deskflow {

View File

@ -8,7 +8,6 @@
#pragma once
#include "common/Common.h"
#include "deskflow/IApp.h"
#include <string>

View File

@ -7,6 +7,7 @@
#include "deskflow/IClipboard.h"
#include <assert.h>
#include <vector>
//

View File

@ -9,8 +9,8 @@
#pragma once
#include "base/EventTypes.h"
#include "common/Common.h"
#include <cstdint>
#include <string>
//! Clipboard interface

View File

@ -6,6 +6,7 @@
*/
#include "deskflow/IKeyState.h"
#include "common/Common.h"
#include <cstdint>
#include <cstdlib>

View File

@ -11,7 +11,6 @@
#include "base/Event.h"
#include "base/EventTypes.h"
#include "base/IEventQueue.h"
#include "common/Common.h"
#include "deskflow/KeyTypes.h"
#include <set>

View File

@ -10,7 +10,6 @@
#include "base/Event.h"
#include "base/EventTypes.h"
#include "common/Common.h"
#include "deskflow/KeyTypes.h"
#include "deskflow/MouseTypes.h"

View File

@ -10,7 +10,6 @@
#include "base/Event.h"
#include "base/EventTypes.h"
#include "common/Common.h"
#include "deskflow/ClipboardTypes.h"
class IClipboard;

View File

@ -9,7 +9,6 @@
#pragma once
#include "base/Event.h"
#include "common/Common.h"
//! Screen saver interface
/*!

View File

@ -10,7 +10,6 @@
#include "base/Event.h"
#include "base/EventTypes.h"
#include "common/Common.h"
#include "deskflow/MouseTypes.h"
//! Secondary screen interface

View File

@ -7,8 +7,7 @@
#pragma once
#include "common/Common.h"
#include <stdint.h>
//! Key ID
/*!
Type to hold a key symbol identifier. The encoding is UTF-32, using

View File

@ -11,7 +11,6 @@
#include "base/Event.h"
#include "base/EventTypes.h"
#include "base/IEventQueue.h"
#include "common/Common.h"
class IEventQueue;

View File

@ -6,7 +6,8 @@
*/
#include "io/StreamBuffer.h"
#include "common/Common.h"
#include <assert.h>
//
// StreamBuffer

View File

@ -7,7 +7,6 @@
#pragma once
#include "common/Common.h"
#include "mt/Mutex.h"
class Stopwatch;

View File

@ -7,8 +7,6 @@
#pragma once
#include "common/Common.h"
class Mutex;
class CondVarBase;

View File

@ -8,6 +8,8 @@
#include "net/IDataSocket.h"
#include "base/EventQueue.h"
#include <assert.h>
//
// IDataSocket
//

View File

@ -10,7 +10,6 @@
#include "base/Event.h"
#include "base/EventTypes.h"
#include "common/Common.h"
class NetworkAddress;

View File

@ -9,7 +9,6 @@
#pragma once
#include "arch/IArchNetwork.h"
#include "common/Common.h"
#include "net/SecurityLevel.h"
class IDataSocket;

View File

@ -9,7 +9,6 @@
#pragma once
#include "arch/IArchNetwork.h"
#include "common/Common.h"
//! Socket multiplexer job
/*!

View File

@ -9,7 +9,6 @@
#pragma once
#include "base/BaseException.h"
#include "common/Common.h"
#include "io/IOException.h"
/**

View File

@ -8,8 +8,6 @@
#pragma once
#include "common/Common.h"
#define WIN32_LEAN_AND_MEAN
#include <Windows.h>

View File

@ -9,6 +9,8 @@
#include "deskflow/KeyState.h"
#include <CoreServices/CoreServices.h>
class IOSXKeyResource
{
public:

View File

@ -6,8 +6,6 @@
#pragma once
#include "common/Common.h"
#import <CoreFoundation/CoreFoundation.h>
#if defined(__cplusplus)

View File

@ -6,8 +6,6 @@
#pragma once
#include "common/Common.h"
#import <CoreFoundation/CoreFoundation.h>
#if defined(__cplusplus)

View File

@ -7,8 +7,6 @@
#pragma once
#include "common/Common.h"
#if defined(__cplusplus)
extern "C"
{

View File

@ -10,7 +10,6 @@
#include "arch/Arch.h"
#include "base/Log.h"
#include "base/Stopwatch.h"
#include "common/Common.h"
#include "platform/XWindowsClipboardBMPConverter.h"
#include "platform/XWindowsClipboardHTMLConverter.h"
#include "platform/XWindowsClipboardTextConverter.h"

View File

@ -7,6 +7,7 @@
#pragma once
#include "Config.h"
#include "deskflow/KeyState.h"
#include <map>

View File

@ -15,6 +15,7 @@
#include "net/SocketException.h"
#include "server/Server.h"
#include <assert.h>
#include <cstdlib>
#include <istream>
#include <ostream>

View File

@ -6,7 +6,6 @@
#include "client/HelloBack.h"
#include "common/Common.h"
#include "unittests/legacytests/mock/io/MockStream.h"
#include <array>