ppforge/controller.go

54 lines
751 B
Go

package ppf
func NewDataModel(name string) *DataModel {
return &DataModel{
Name: name,
}
}
func (dm *DataModel) AddProtocol(name string) {
}
func (dm *DataModel) RemoveProtocolByName(name string) {
}
func (dm *DataModel) RemoveProtocolElement(id uint) {
}
func (dm *DataModel) NewProtocol(name string) {
}
func (dm *DataModel) SaveNewProtocol(editorContent ProtocolEditor) {
}
func (dm *DataModel) GetPacketEditor() *PacketEditor {
return nil
}
func (dm *DataModel) SwitchToProtocolEditor() {
}
func (dm *DataModel) SyncPacketEditor(pkgedt *PacketEditor) {
}
func (dm *DataModel) GetPackageBytes() []byte {
return []byte{}
}
func (dm *DataModel) FromSaved(path string) {
}
func (dm *DataModel) SaveAsPcap(path string) {
}