1
# $Id: split-soapC.sed $
3
# Sed script for splitting up the monsterous soapC.cpp
7
# Copyright (C) 2006-2007 Sun Microsystems, Inc.
9
# This file is part of VirtualBox Open Source Edition (OSE), as
10
# available from http://www.virtualbox.org. This file is free software;
11
# you can redistribute it and/or modify it under the terms of the GNU
12
# General Public License (GPL) as published by the Free Software
13
# Foundation, in version 2 as it comes in the "COPYING" file of the
14
# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15
# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
17
# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
18
# Clara, CA 95054 USA or visit http://www.sun.com if you need
19
# additional information or have any questions.
23
# This implementations uses ranges.
25
# Since the ranges have an inclusive end criteria, we have to repeate
26
# each location three times to make it work. It's a bit annoying but
27
# it is much shorter than an approach using the hold space as a state
31
# Initialize the files.
36
1,/^SOAP_FMAC3 int SOAP_FMAC4 soap_ignore_element/ {
37
/^SOAP_FMAC3 int SOAP_FMAC4 soap_ignore_element/b banner2
43
/^SOAP_FMAC3 int SOAP_FMAC4 soap_ignore_element/,/^SOAP_FMAC3 int SOAP_FMAC4 soap_fdelete/ {
44
/^SOAP_FMAC3 int SOAP_FMAC4 soap_fdelete/b banner3
50
/^SOAP_FMAC3 int SOAP_FMAC4 soap_fdelete/,/^SOAP_FMAC3 void\* SOAP_FMAC4 soap_class_id_enter/ {
51
/^SOAP_FMAC3 void\* SOAP_FMAC4 soap_class_id_enter/b banner4
57
/^SOAP_FMAC3 void\* SOAP_FMAC4 soap_class_id_enter/,/^SOAP_FMAC3 int SOAP_FMAC4 soap_out__vbox__IUSBDeviceFilter_USCOREsetMaskedInterfaces/ {
58
/^SOAP_FMAC3 int SOAP_FMAC4 soap_out__vbox__IUSBDeviceFilter_USCOREsetMaskedInterfaces/b banner5
64
/^SOAP_FMAC3 int SOAP_FMAC4 soap_out__vbox__IUSBDeviceFilter_USCOREsetMaskedInterfaces/,/^void _vbox__IUSBDevice_USCOREgetRemoteResponse::soap_default/ {
65
/^void _vbox__IUSBDevice_USCOREgetRemoteResponse::soap_default/b banner6
71
/^void _vbox__IUSBDevice_USCOREgetRemoteResponse::soap_default/,/^int _vbox__INetworkAdapter_USCOREdetachResponse::soap_out/ {
72
/^int _vbox__INetworkAdapter_USCOREdetachResponse::soap_out/b banner7
78
/^int _vbox__INetworkAdapter_USCOREdetachResponse::soap_out/,/^void _vbox__IFloppyDrive_USCOREgetHostDriveResponse::soap_default/ {
79
/^void _vbox__IFloppyDrive_USCOREgetHostDriveResponse::soap_default/b banner8
85
/^void _vbox__IFloppyDrive_USCOREgetHostDriveResponse::soap_default/,/^void _vbox__IMedium_USCOREsetLocationResponse::soap_default/ {
86
/^void _vbox__IMedium_USCOREsetLocationResponse::soap_default/b banner9
92
/^void _vbox__IMedium_USCOREsetLocationResponse::soap_default/,/^void _vbox__ISystemProperties_USCOREgetMaxVDISizeResponse::soap_serialize/ {
93
/^void _vbox__ISystemProperties_USCOREgetMaxVDISizeResponse::soap_serialize/b banner10
99
/^void _vbox__ISystemProperties_USCOREgetMaxVDISizeResponse::soap_serialize/,/^int _vbox__IConsole_USCOREdiscardCurrentSnapshotAndState::soap_out/ {
100
/^int _vbox__IConsole_USCOREdiscardCurrentSnapshotAndState::soap_out/b banner11
106
/^int _vbox__IConsole_USCOREdiscardCurrentSnapshotAndState::soap_out/,/^void _vbox__IMachine_USCOREgetNextExtraDataKeyResponse::soap_default/ {
107
/^void _vbox__IMachine_USCOREgetNextExtraDataKeyResponse::soap_default/b banner12
113
/^void _vbox__IMachine_USCOREgetNextExtraDataKeyResponse::soap_default/,/^SOAP_FMAC3 int SOAP_FMAC4 soap_out__vbox__IMachine_USCOREgetVRAMSizeResponse/ {
114
/^SOAP_FMAC3 int SOAP_FMAC4 soap_out__vbox__IMachine_USCOREgetVRAMSizeResponse/b banner13
120
/^SOAP_FMAC3 int SOAP_FMAC4 soap_out__vbox__IMachine_USCOREgetVRAMSizeResponse/,/^SOAP_FMAC3 int SOAP_FMAC4 soap_out__vbox__IVirtualBox_USCOREgetNextExtraDataKey/ {
121
/^SOAP_FMAC3 int SOAP_FMAC4 soap_out__vbox__IVirtualBox_USCOREgetNextExtraDataKey/b banner14
127
/^SOAP_FMAC3 int SOAP_FMAC4 soap_out__vbox__IVirtualBox_USCOREgetNextExtraDataKey/,/^SOAP_FMAC3 int SOAP_FMAC4 soap_out___vbox__IVRDPServer_USCOREgetReuseSingleConnection/ {
128
/^SOAP_FMAC3 int SOAP_FMAC4 soap_out___vbox__IVRDPServer_USCOREgetReuseSingleConnection/b banner15
134
/^SOAP_FMAC3 int SOAP_FMAC4 soap_out___vbox__IVRDPServer_USCOREgetReuseSingleConnection/,/^SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___vbox__IFloppyDrive_USCOREgetHostDrive/ {
135
/^SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___vbox__IFloppyDrive_USCOREgetHostDrive/b banner16
141
/^SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___vbox__IFloppyDrive_USCOREgetHostDrive/,/^SOAP_FMAC3 void SOAP_FMAC4 soap_default___vbox__IMachine_USCOREgetHWVirtExNestedPagingEnabled/ {
142
/^SOAP_FMAC3 void SOAP_FMAC4 soap_default___vbox__IMachine_USCOREgetHWVirtExNestedPagingEnabled/b banner17
148
/^SOAP_FMAC3 void SOAP_FMAC4 soap_default___vbox__IMachine_USCOREgetHWVirtExNestedPagingEnabled/,/^SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_vbox__IDVDDrive_USCOREgetPassthrough/ {
149
/^SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_vbox__IDVDDrive_USCOREgetPassthrough/b banner18
155
/^SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_vbox__IDVDDrive_USCOREgetPassthrough/,/^SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_vbox__IConsole_USCOREpowerButtonResponse/ {
156
/^SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_vbox__IConsole_USCOREpowerButtonResponse/b banner19
162
/^SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_vbox__IConsole_USCOREpowerButtonResponse/,/^SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_vbox__IVirtualBox_USCOREsetExtraData/ {
163
/^SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_vbox__IVirtualBox_USCOREsetExtraData/b banner20
168
# the rest goes into the 20th file.
175
# Subroutine called on the first line.
178
s/^.*$/\#include \"soapH\.h\"/
204
# Subroutines for writing info: soapC-x.cpp as we leave a range.