From 026611eb99d5b7c56b3fadf5e86063f368f7f507 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 27 Sep 2011 16:35:44 +0200 Subject: [PATCH] misc: Work on categories for the various classes. --- LogArea.st | 2 ++ OsmoCore.st | 2 +- OsmoVTY.st | 15 ++++++++------- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/LogArea.st b/LogArea.st index 8a69089..0c13da0 100644 --- a/LogArea.st +++ b/LogArea.st @@ -17,6 +17,8 @@ " Osmo.LogArea subclass: LogAreaOsmoCore [ + + LogAreaOsmoCore class >> areaName [ ^ #osmocore ] LogAreaOsmoCore class >> areaDescription [ ^ 'OSMOCore bindings' ] LogAreaOsmoCore class >> default [ diff --git a/OsmoCore.st b/OsmoCore.st index d768350..37634c8 100644 --- a/OsmoCore.st +++ b/OsmoCore.st @@ -26,7 +26,7 @@ Eval [ Object subclass: OSMOCore [ - + Process := nil. diff --git a/OsmoVTY.st b/OsmoVTY.st index a3fa2b1..d62848a 100644 --- a/OsmoVTY.st +++ b/OsmoVTY.st @@ -17,7 +17,7 @@ " CStruct subclass: Vty_app_info [ - + + "the index is wrong but we do not need to access it" + - - OSMOVTY class >> initialize [ DLD addLibrary: 'libosmovty.so.0' @@ -171,8 +171,8 @@ Object subclass: OSMOVTY [ ] Object subclass: VTYCommand [ - - + + | command callback handler | @@ -193,6 +193,7 @@ Object subclass: VTYCommand [ handleCommand: aCmd vty: aVty argc: aArgc argv: aArgv [ | str strings | + str := aArgv castTo: CStringType. strings := OrderedCollection new.