diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-06-15 16:55:40 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-06-15 16:55:40 +0200 |
commit | 0c55cb053c710e636264745a5f1e96f03f982924 (patch) | |
tree | 97b4ff285e76983c581ad2893c45253240ad2687 /GSMEncoding.st | |
parent | 687815f60fda452b2622d52b947aee3b5e934e9f (diff) |
gsm: Make the extend work with and without namesapces
Start looking from the OsmoGSM namespace.
Diffstat (limited to 'GSMEncoding.st')
-rw-r--r-- | GSMEncoding.st | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/GSMEncoding.st b/GSMEncoding.st index e6806a5..cae9e5a 100644 --- a/GSMEncoding.st +++ b/GSMEncoding.st @@ -19,24 +19,24 @@ Array extend [ decodeGSM7Bit [ <category: '*-osmo-gsm'> - ^ GSMDecoding decode: self. + ^ (OsmoGSM at: #GSMDecoding) decode: self. ] decodeUSSD7Bit [ <category: '*-osmo-gsm'> - ^ GSMUSSDDecoding decode: self. + ^ (OsmoGSM at: #GSMUSSDDecoding) decode: self. ] ] ByteArray extend [ decodeGSM7Bit [ <category: '*-osmo-gsm'> - ^ GSMDecoding decode: self. + ^ (OsmoGSM at: #GSMDecoding) decode: self. ] decodeUSSD7Bit [ <category: '*-osmo-gsm'> - ^ GSMUSSDDecoding decode: self. + ^ (OsmoGSM at: #GSMUSSDDecoding) decode: self. ] ] @@ -46,14 +46,14 @@ String extend [ also be in UnicodeString but I am not. This impl. is just basic and does not deal with difficult bits." <category: '*-osmo-gsm'> - ^ GSMEncoding encode: self. + ^ (OsmoGSM at: #GSMEncoding) encode: self. ] asUSSD7Bit [ "I convert a string into a 7bit encoded string. I know about padding rules for USSD messages." <category: '*-osmo-gsm'> - ^ GSMUSSDEncoding encode: self. + ^ (OsmoGSM at: #GSMUSSDEncoding) encode: self. ] ] |