Compare commits

...

No commits in common. 'adbb2c374b1d3dc7c6906bba04064fce0aa36bae' and '4638a40cffd5160b4a54f199b6ebabd1123dac19' have entirely different histories.

@ -23,6 +23,7 @@ project/
│   ├── client.cpp │   ├── client.cpp
│   ├── MyService.cpp │   ├── MyService.cpp
│   ├── MyService.h │   ├── MyService.h
│   ├── rpc_common.h
│   ├── rpc_export.h │   ├── rpc_export.h
│   └── server.cpp │   └── server.cpp
├── tools ├── tools

@ -1,3 +1,4 @@
// MyService.cpp
#include "MyService.h" #include "MyService.h"
int MyService::add(int a, int b) { int MyService::add(int a, int b) {

@ -1,3 +1,4 @@
// client.cpp
#include "MyService.proxy.h" #include "MyService.proxy.h"
#include <iostream> #include <iostream>

@ -0,0 +1,2 @@
#pragma once
// placeholder for shared RPC declarations in future

@ -1,3 +1,4 @@
// server.cpp
#include "MyService.h" #include "MyService.h"
#include "MyService.skeleton.h" #include "MyService.skeleton.h"

@ -2,6 +2,8 @@
#include <string> #include <string>
#include <memory> #include <memory>
#include <cstdint> #include <cstdint>
#include "rpc_common.h" // we'll add this helper header in src/
#include "{{ cls.name }}.skeleton.h" // for type name consistency
class {{ cls.name }}Proxy { class {{ cls.name }}Proxy {
public: public:

Loading…
Cancel
Save