summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-05 22:12:05 -0600
committerJeff Carr <[email protected]>2025-03-05 22:12:05 -0600
commitcefb5b161eb688c9b6bdfc2964fd1e38a9bf570a (patch)
treedc23597492868f0fb0e0cc2a45596a3734f10e75
parent9ab1afbe14edf2377cd3ce87ca81c3da8cae7107 (diff)
rm code now made by autogenpbv0.0.41
-rw-r--r--machine.test.go68
1 files changed, 0 insertions, 68 deletions
diff --git a/machine.test.go b/machine.test.go
deleted file mode 100644
index 960ff83..0000000
--- a/machine.test.go
+++ /dev/null
@@ -1,68 +0,0 @@
-package zoopb
-
-import (
- "go.wit.com/log"
-)
-
-func (mt *MachinesTable) lookupWidgetId(id int) {
- log.Info("no shit. got to lookupWidgdetId() id =", id, "on mt", mt.GetUuid())
-}
-
-func (mt *MachinesTable) Custom(f func(int)) {
- mt.pb.RegisterCustom(mt.lookupWidgetId)
-}
-
-func (mt *MachinesTable) Delete() {
- if mt == nil {
- log.Info("mt == nil table already deleted")
- return
- }
- log.Info("implement table Delete here")
- mt.parent.DeleteTable(mt.pb)
-}
-
-func (mt *MachinesTable) UpdateTable(pb *Machines) {
- // mt.parent.UpdateTable(pb)
-}
-
-func (mt *MachinesTable) GetUuid() string {
- return mt.pb.Uuid
-}
-
-type machineButtonFunc struct {
- title string
- f func(*Machine) string
- Custom func(*Machine)
-}
-
-/*
-func (mt *MachinesTable) doButtonFunc(name string) bool {
- for _, sf := range mt.buttonFuncs {
- if sf.title != name {
- continue
- }
- // log.Info("zoopb: found timefunc name:", name)
- r := new(guipb.ButtonRow)
- r.Header = new(guipb.Widget)
- r.Header.Name = name
- all := mt.x.All()
- for all.Scan() {
- m := all.Next()
- tmp := fmt.Sprintf("%s %s %d", name, sf.f(m), all.Cur())
- r.Vals = append(r.Vals, tmp)
- // log.Info("zoopb: adding", name, r.Vals)
- }
- mt.pb.ButtonRows = append(mt.pb.ButtonRows, r)
- return true
- }
- return false
-}
-*/
-
-func (it *MachinesIterator) Cur() int {
- return it.index
-}
-
-func (it *MachineIterator) Cur() int {
- return it.index
-}