Skip to content

Commit

Permalink
Add rpc interface version to interface pane
Browse files Browse the repository at this point in the history
  • Loading branch information
qtc-de committed Jul 25, 2024
1 parent 464c035 commit 0f4ea70
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/components/InterfacePane.vue
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@
<tr>
<th class="InterfaceColumn">Type</th>
<th class="InterfaceColumn">UUID</th>
<th class="InterfaceColumn">Version</th>
<th class="InterfaceColumn">Location</th>
<th class="InterfaceColumn">Procs</th>
<th class="InterfaceColumn">Desc</th>
Expand All @@ -192,6 +193,7 @@
Dcom: intf.typ == 'dcom', Hybrid: intf.typ == 'hybrid' }" @click='selectRow(intf)'>
<td class="InterfaceColumn">{{ intf.typ.toUpperCase() }}</td>
<td class="InterfaceColumn">{{ intf.id }}</td>
<td class="InterfaceColumn">{{ intf.version }}</td>
<td class="InterfaceColumn">{{ intf.location }}</td>
<td class="InterfaceColumn">{{ intf.methods.length }}</td>
<td class="InterfaceColumn">{{ intf.description }}</td>
Expand Down
2 changes: 2 additions & 0 deletions src/rpv.v
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ struct RpcWebServerInfo {
struct RpcWebInterfaceInfo {
pub:
id string
version string
base string
dispatch_table_addr string
annotation string
Expand Down Expand Up @@ -237,6 +238,7 @@ fn convert_rpv_interface_infos(infos []rpv.RpcInterfaceInfo) []RpcWebInterfaceIn

rpv_web_intf_infos << RpcWebInterfaceInfo {
id: info.id
version: info.version
base: '0x${info.base.hex_full()}'
name: info.name
dispatch_table_addr: '0x${info.dispatch_table_addr.hex_full()}'
Expand Down

0 comments on commit 0f4ea70

Please sign in to comment.