Skip to content
This repository has been archived by the owner on Apr 14, 2024. It is now read-only.

Commit

Permalink
Prepare to extract libostfile from libostprotogui
Browse files Browse the repository at this point in the history
This commit only copies ostprotogui as ostfile to track changes. Actual
changes will be made in subsequent commits
  • Loading branch information
pstavirs committed Nov 16, 2023
1 parent 483f7fb commit f535066
Showing 1 changed file with 158 additions and 0 deletions.
158 changes: 158 additions & 0 deletions common/ostfile.pro
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)

0 comments on commit f535066

Please sign in to comment.