54 lines
755 B
Go
54 lines
755 B
Go
package npc
|
|
|
|
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) GetPackageEditor() *PackageEditor {
|
|
|
|
return nil
|
|
}
|
|
|
|
func (dm *DataModel) SwitchToProtocolEditor() {
|
|
|
|
}
|
|
|
|
func (dm *DataModel) SyncPackageEditor(pkgedt *PackageEditor) {
|
|
|
|
}
|
|
|
|
func (dm *DataModel) GetPackageBytes() []byte {
|
|
|
|
return []byte{}
|
|
}
|
|
|
|
func (dm *DataModel) FromSaved(path string) {
|
|
|
|
}
|
|
|
|
func (dm *DataModel) SaveAsPcap(path string) {
|
|
|
|
}
|