Create an error system that follows MVC
authorRobert Sesek <rsesek@bluestatic.org>
Mon, 1 Dec 2008 03:40:18 +0000 (22:40 -0500)
committerRobert Sesek <rsesek@bluestatic.org>
Mon, 1 Dec 2008 03:40:18 +0000 (22:40 -0500)
commit14ffd9db160a389fd532233deec5dd46bbfd3833
tree21b262b0a03ad595eade80f5cdbc2afa4d005e6e
parentb51d08420b460b7cc09a11036beddd08fe4cbe3f
Create an error system that follows MVC

* Source/DebuggerController.m:
(init): Register ourselves as an observer for the error notif type
(handleConnectionError:): New method to handle the error notifs
* Source/GDBpConnection.h: Forward-declare kErrorOccurred
* Source/GDBpConnection.m:
(errorEncountered:): Post the notification
Source/DebuggerController.m
Source/GDBpConnection.h
Source/GDBpConnection.m