refactor: remove unneeded common/Common includes
This commit is contained in:
@ -8,10 +8,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "common/Common.h"
|
||||
|
||||
#include <stdexcept>
|
||||
#include <string>
|
||||
|
||||
//! Generic thread exception
|
||||
/*!
|
||||
|
||||
@ -6,9 +6,9 @@
|
||||
*/
|
||||
|
||||
#include "arch/ArchString.h"
|
||||
#include "common/Common.h"
|
||||
|
||||
#include <climits>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <mutex>
|
||||
|
||||
|
||||
@ -8,9 +8,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "common/Common.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <stdint.h>
|
||||
|
||||
//! Interface for architecture dependent string operations
|
||||
/*!
|
||||
|
||||
@ -8,8 +8,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "common/Common.h"
|
||||
|
||||
#include <functional>
|
||||
#include <string>
|
||||
|
||||
|
||||
@ -9,7 +9,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "base/LogLevel.h"
|
||||
#include "common/Common.h"
|
||||
|
||||
//! Interface for architecture dependent logging
|
||||
/*!
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "common/Common.h"
|
||||
#include <cstdint>
|
||||
|
||||
/*!
|
||||
\class ArchCondImpl
|
||||
|
||||
@ -8,9 +8,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "common/Common.h"
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
|
||||
#include <vector>
|
||||
|
||||
class ArchThreadImpl;
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -7,6 +7,9 @@
|
||||
|
||||
#include "base/Event.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <cstdlib>
|
||||
|
||||
//
|
||||
// Event
|
||||
//
|
||||
|
||||
@ -8,7 +8,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "EventTypes.h"
|
||||
#include "common/Common.h"
|
||||
|
||||
using deskflow::EventTypes;
|
||||
|
||||
|
||||
@ -8,8 +8,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "common/Common.h"
|
||||
|
||||
class Event;
|
||||
|
||||
//! Event handler interface
|
||||
|
||||
@ -10,7 +10,6 @@
|
||||
|
||||
#include "base/Event.h"
|
||||
#include "base/EventTypes.h"
|
||||
#include "common/Common.h"
|
||||
|
||||
#include <functional>
|
||||
#include <string>
|
||||
|
||||
@ -8,7 +8,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "common/Common.h"
|
||||
#include <assert.h>
|
||||
#include <cstdint>
|
||||
|
||||
class Event;
|
||||
class EventQueueTimer;
|
||||
|
||||
@ -8,8 +8,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "common/Common.h"
|
||||
|
||||
//! Job interface
|
||||
/*!
|
||||
A job is an interface for executing some function.
|
||||
|
||||
@ -10,7 +10,6 @@
|
||||
|
||||
#include "base/Log.h"
|
||||
#include "base/LogLevel.h"
|
||||
#include "common/Common.h"
|
||||
|
||||
//! Outputter interface
|
||||
/*!
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -9,7 +9,6 @@
|
||||
|
||||
#include "arch/Arch.h"
|
||||
#include "arch/IArchMultithread.h"
|
||||
#include "common/Common.h"
|
||||
|
||||
#include <mutex>
|
||||
|
||||
|
||||
@ -9,7 +9,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "base/ILogOutputter.h"
|
||||
#include "common/Common.h"
|
||||
#include "mt/Thread.h"
|
||||
|
||||
//! Stop traversing log chain outputter
|
||||
|
||||
@ -7,8 +7,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "common/Common.h"
|
||||
|
||||
//! A timer class
|
||||
/*!
|
||||
This class measures time intervals. All time interval measurement
|
||||
|
||||
@ -11,6 +11,7 @@
|
||||
#include <algorithm>
|
||||
#include <cstdarg>
|
||||
#include <cstdint>
|
||||
#include <cstring>
|
||||
#include <sstream>
|
||||
#include <vector>
|
||||
|
||||
|
||||
@ -8,8 +8,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "common/Common.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
//! std::string utilities
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "arch/ArchString.h"
|
||||
#include "common/Common.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
//! Unicode utility functions
|
||||
|
||||
@ -6,7 +6,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "common/Common.h"
|
||||
#include "deskflow/ProtocolTypes.h"
|
||||
#include "io/IStream.h"
|
||||
|
||||
|
||||
@ -8,6 +8,7 @@
|
||||
#include "deskflow/AppUtil.h"
|
||||
|
||||
#include "algorithm"
|
||||
#include <assert.h>
|
||||
|
||||
AppUtil *AppUtil::s_instance = nullptr;
|
||||
|
||||
|
||||
@ -6,9 +6,10 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "common/Common.h"
|
||||
#include <base/Event.h>
|
||||
|
||||
#include <cstring>
|
||||
|
||||
class Chunk : public EventData
|
||||
{
|
||||
public:
|
||||
|
||||
@ -6,7 +6,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "common/Common.h"
|
||||
#include "deskflow/Chunk.h"
|
||||
#include "deskflow/ClipboardTypes.h"
|
||||
#include "deskflow/ProtocolTypes.h"
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "common/Common.h"
|
||||
#include <cstdint>
|
||||
|
||||
//! Clipboard ID
|
||||
/*!
|
||||
|
||||
@ -8,8 +8,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "common/Common.h"
|
||||
|
||||
using StartupFunc = int (*)(int, char **);
|
||||
|
||||
namespace deskflow {
|
||||
|
||||
@ -8,7 +8,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "common/Common.h"
|
||||
#include "deskflow/IApp.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
@ -7,6 +7,7 @@
|
||||
|
||||
#include "deskflow/IClipboard.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <vector>
|
||||
|
||||
//
|
||||
|
||||
@ -9,8 +9,8 @@
|
||||
#pragma once
|
||||
|
||||
#include "base/EventTypes.h"
|
||||
#include "common/Common.h"
|
||||
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
|
||||
//! Clipboard interface
|
||||
|
||||
@ -6,6 +6,7 @@
|
||||
*/
|
||||
|
||||
#include "deskflow/IKeyState.h"
|
||||
#include "common/Common.h"
|
||||
|
||||
#include <cstdint>
|
||||
#include <cstdlib>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -10,7 +10,6 @@
|
||||
|
||||
#include "base/Event.h"
|
||||
#include "base/EventTypes.h"
|
||||
#include "common/Common.h"
|
||||
#include "deskflow/KeyTypes.h"
|
||||
#include "deskflow/MouseTypes.h"
|
||||
|
||||
|
||||
@ -10,7 +10,6 @@
|
||||
|
||||
#include "base/Event.h"
|
||||
#include "base/EventTypes.h"
|
||||
#include "common/Common.h"
|
||||
#include "deskflow/ClipboardTypes.h"
|
||||
|
||||
class IClipboard;
|
||||
|
||||
@ -9,7 +9,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "base/Event.h"
|
||||
#include "common/Common.h"
|
||||
|
||||
//! Screen saver interface
|
||||
/*!
|
||||
|
||||
@ -10,7 +10,6 @@
|
||||
|
||||
#include "base/Event.h"
|
||||
#include "base/EventTypes.h"
|
||||
#include "common/Common.h"
|
||||
#include "deskflow/MouseTypes.h"
|
||||
|
||||
//! Secondary screen interface
|
||||
|
||||
@ -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
|
||||
|
||||
@ -11,7 +11,6 @@
|
||||
#include "base/Event.h"
|
||||
#include "base/EventTypes.h"
|
||||
#include "base/IEventQueue.h"
|
||||
#include "common/Common.h"
|
||||
|
||||
class IEventQueue;
|
||||
|
||||
|
||||
@ -6,7 +6,8 @@
|
||||
*/
|
||||
|
||||
#include "io/StreamBuffer.h"
|
||||
#include "common/Common.h"
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
//
|
||||
// StreamBuffer
|
||||
|
||||
@ -7,7 +7,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "common/Common.h"
|
||||
#include "mt/Mutex.h"
|
||||
|
||||
class Stopwatch;
|
||||
|
||||
@ -7,8 +7,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "common/Common.h"
|
||||
|
||||
class Mutex;
|
||||
class CondVarBase;
|
||||
|
||||
|
||||
@ -8,6 +8,8 @@
|
||||
#include "net/IDataSocket.h"
|
||||
#include "base/EventQueue.h"
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
//
|
||||
// IDataSocket
|
||||
//
|
||||
|
||||
@ -10,7 +10,6 @@
|
||||
|
||||
#include "base/Event.h"
|
||||
#include "base/EventTypes.h"
|
||||
#include "common/Common.h"
|
||||
|
||||
class NetworkAddress;
|
||||
|
||||
|
||||
@ -9,7 +9,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "arch/IArchNetwork.h"
|
||||
#include "common/Common.h"
|
||||
#include "net/SecurityLevel.h"
|
||||
|
||||
class IDataSocket;
|
||||
|
||||
@ -9,7 +9,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "arch/IArchNetwork.h"
|
||||
#include "common/Common.h"
|
||||
|
||||
//! Socket multiplexer job
|
||||
/*!
|
||||
|
||||
@ -9,7 +9,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "base/BaseException.h"
|
||||
#include "common/Common.h"
|
||||
#include "io/IOException.h"
|
||||
|
||||
/**
|
||||
|
||||
@ -8,8 +8,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "common/Common.h"
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <Windows.h>
|
||||
|
||||
|
||||
@ -9,6 +9,8 @@
|
||||
|
||||
#include "deskflow/KeyState.h"
|
||||
|
||||
#include <CoreServices/CoreServices.h>
|
||||
|
||||
class IOSXKeyResource
|
||||
{
|
||||
public:
|
||||
|
||||
@ -6,8 +6,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "common/Common.h"
|
||||
|
||||
#import <CoreFoundation/CoreFoundation.h>
|
||||
|
||||
#if defined(__cplusplus)
|
||||
|
||||
@ -6,8 +6,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "common/Common.h"
|
||||
|
||||
#import <CoreFoundation/CoreFoundation.h>
|
||||
|
||||
#if defined(__cplusplus)
|
||||
|
||||
@ -7,8 +7,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "common/Common.h"
|
||||
|
||||
#if defined(__cplusplus)
|
||||
extern "C"
|
||||
{
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -7,6 +7,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "Config.h"
|
||||
#include "deskflow/KeyState.h"
|
||||
|
||||
#include <map>
|
||||
|
||||
@ -15,6 +15,7 @@
|
||||
#include "net/SocketException.h"
|
||||
#include "server/Server.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <cstdlib>
|
||||
#include <istream>
|
||||
#include <ostream>
|
||||
|
||||
@ -6,7 +6,6 @@
|
||||
|
||||
#include "client/HelloBack.h"
|
||||
|
||||
#include "common/Common.h"
|
||||
#include "unittests/legacytests/mock/io/MockStream.h"
|
||||
|
||||
#include <array>
|
||||
|
||||
Reference in New Issue
Block a user