Skip to content

Commit

Permalink
Prefix src files with "Ipc"
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusTomlinson committed Jan 9, 2024
1 parent 8cb20f3 commit bbf42bf
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ endif
# Configure ipc_lib

ipc_src = [
'src/Client.cpp',
'src/Message.cpp',
'src/Server.cpp'
'src/IpcClient.cpp',
'src/IpcMessage.cpp',
'src/IpcServer.cpp'
]

ipc_inc = include_directories(
Expand Down
4 changes: 2 additions & 2 deletions src/Client.cpp → src/IpcClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
******************************************************************************/

#include <Client.h>
#include <IpcClient.h>

#include <Common.h>
#include <IpcCommon.h>

#include <iostream>
#include <mutex>
Expand Down
2 changes: 1 addition & 1 deletion src/Client.h → src/IpcClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

#pragma once

#include <Message.h>
#include <IpcMessage.h>

#include <filesystem>
#include <memory>
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/Message.cpp → src/IpcMessage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
******************************************************************************/

#include <Message.h>
#include <IpcMessage.h>

using namespace Ipc;

Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions src/Server.cpp → src/IpcServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
******************************************************************************/

#include <Server.h>
#include <IpcServer.h>

#include <Common.h>
#include <Message.h>
#include <IpcCommon.h>
#include <IpcMessage.h>

#include <iostream>

Expand Down
2 changes: 1 addition & 1 deletion src/Server.h → src/IpcServer.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

#pragma once

#include <Message.h>
#include <IpcMessage.h>

#include <filesystem>
#include <functional>
Expand Down
4 changes: 2 additions & 2 deletions tests/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
******************************************************************************/

#include <Client.h>
#include <Server.h>
#include <IpcClient.h>
#include <IpcServer.h>

#include <gtest/gtest.h>

Expand Down

0 comments on commit bbf42bf

Please sign in to comment.