Used exceptions to handle errors on InitData(). I hope I didn't made

stupid errors, since I don't use exceptions usually. Feel free to beat 
me on this. Moved uninitialization to _DisposeData(). Corrected some 
styling issues pointed out by axel. Used fprintf instead of printf.
Turned off debugging.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21450 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini
2007-06-18 09:53:36 +00:00
parent 13526fae69
commit 6a45488dd9
2 changed files with 103 additions and 67 deletions
+2
View File
@@ -78,6 +78,8 @@ class BWindowScreen : public BWindow {
BWindowScreen &operator=(BWindowScreen& other);
status_t _InitData(uint32 space, uint32 attributes);
void _DisposeData();
status_t _SetActiveState(int32 state);
status_t _SetupAccelerantHooks(bool enable);
status_t _GetCardInfo();