This repository has been archived by the owner on Apr 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 140
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prepare to extract libostfile from libostprotogui
This commit only copies ostprotogui as ostfile to track changes. Actual changes will be made in subsequent commits
- Loading branch information
Showing
1 changed file
with
158 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,158 @@ | ||
TEMPLATE = lib | ||
CONFIG += qt staticlib | ||
QT += widgets network xml script | ||
INCLUDEPATH += "../extra/qhexedit2/src" | ||
LIBS += \ | ||
-lprotobuf | ||
|
||
FORMS = \ | ||
pcapfileimport.ui \ | ||
|
||
FORMS += \ | ||
mac.ui \ | ||
vlan.ui \ | ||
eth2.ui \ | ||
dot3.ui \ | ||
llc.ui \ | ||
snap.ui \ | ||
stp.ui \ | ||
arp.ui \ | ||
ip4.ui \ | ||
ip6.ui \ | ||
gmp.ui \ | ||
gre.ui \ | ||
icmp.ui \ | ||
tcp.ui \ | ||
udp.ui \ | ||
textproto.ui \ | ||
tosdscp.ui \ | ||
hexdump.ui \ | ||
payload.ui \ | ||
sample.ui \ | ||
sign.ui \ | ||
userscript.ui | ||
|
||
PROTOS = \ | ||
fileformat.proto | ||
|
||
# TODO: Move fileformat related stuff into a different library - why? | ||
HEADERS = \ | ||
ostprotolib.h \ | ||
ipv4addressdelegate.h \ | ||
ipv6addressdelegate.h \ | ||
nativefileformat.h \ | ||
ossnfileformat.h \ | ||
ostmfileformat.h \ | ||
pcapfileformat.h \ | ||
pdmlfileformat.h \ | ||
pythonfileformat.h \ | ||
pdmlprotocol.h \ | ||
pdmlprotocols.h \ | ||
pdmlreader.h \ | ||
sessionfileformat.h \ | ||
streamfileformat.h \ | ||
spinboxdelegate.h | ||
|
||
HEADERS += \ | ||
tosdscp.h | ||
|
||
HEADERS += \ | ||
abstractprotocolconfig.h \ | ||
comboprotocolconfig.h \ | ||
protocolwidgetfactory.h \ | ||
macconfig.h \ | ||
vlanconfig.h \ | ||
svlanconfig.h \ | ||
vlanstackconfig.h \ | ||
eth2config.h \ | ||
dot3config.h \ | ||
llcconfig.h \ | ||
dot2llcconfig.h \ | ||
snapconfig.h \ | ||
dot2snapconfig.h \ | ||
stpconfig.h \ | ||
arpconfig.h \ | ||
ip4config.h \ | ||
ip6config.h \ | ||
ip4over4config.h \ | ||
gmpconfig.h \ | ||
greconfig.h \ | ||
icmpconfig.h \ | ||
igmpconfig.h \ | ||
mldconfig.h \ | ||
tcpconfig.h \ | ||
udpconfig.h \ | ||
textprotoconfig.h \ | ||
hexdumpconfig.h \ | ||
payloadconfig.h \ | ||
sampleconfig.h \ | ||
signconfig.h \ | ||
userscriptconfig.h | ||
|
||
SOURCES += \ | ||
ostprotolib.cpp \ | ||
nativefileformat.cpp \ | ||
ossnfileformat.cpp \ | ||
ostmfileformat.cpp \ | ||
pcapfileformat.cpp \ | ||
pdmlfileformat.cpp \ | ||
pythonfileformat.cpp \ | ||
pdmlprotocol.cpp \ | ||
pdmlprotocols.cpp \ | ||
pdmlreader.cpp \ | ||
sessionfileformat.cpp \ | ||
streamfileformat.cpp \ | ||
spinboxdelegate.cpp | ||
|
||
SOURCES += \ | ||
tosdscp.cpp | ||
|
||
SOURCES += \ | ||
protocolwidgetfactory.cpp \ | ||
macconfig.cpp \ | ||
vlanconfig.cpp \ | ||
eth2config.cpp \ | ||
dot3config.cpp \ | ||
llcconfig.cpp \ | ||
snapconfig.cpp \ | ||
stpconfig.cpp \ | ||
arpconfig.cpp \ | ||
ip4config.cpp \ | ||
ip6config.cpp \ | ||
gmpconfig.cpp \ | ||
greconfig.cpp \ | ||
icmpconfig.cpp \ | ||
igmpconfig.cpp \ | ||
mldconfig.cpp \ | ||
tcpconfig.cpp \ | ||
udpconfig.cpp \ | ||
textprotoconfig.cpp \ | ||
hexdumpconfig.cpp \ | ||
payloadconfig.cpp \ | ||
sampleconfig.cpp \ | ||
signconfig.cpp \ | ||
userscriptconfig.cpp | ||
|
||
SOURCES += \ | ||
vlanpdml.cpp \ | ||
svlanpdml.cpp \ | ||
stppdml.cpp \ | ||
eth2pdml.cpp \ | ||
llcpdml.cpp \ | ||
arppdml.cpp \ | ||
ip4pdml.cpp \ | ||
ip6pdml.cpp \ | ||
grepdml.cpp \ | ||
icmppdml.cpp \ | ||
icmp6pdml.cpp \ | ||
igmppdml.cpp \ | ||
mldpdml.cpp \ | ||
tcppdml.cpp \ | ||
udppdml.cpp \ | ||
textprotopdml.cpp \ | ||
samplepdml.cpp | ||
|
||
QMAKE_DISTCLEAN += object_script.* | ||
|
||
include(../protobuf.pri) | ||
include(../options.pri) |