Changeset 20 in Main
- Timestamp:
- 26/11/2011 09:39:34 (18 months ago)
- Location:
- src/fake_app_server
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/fake_app_server/App.cpp
r18 r20 14 14 status = B_ERROR; 15 15 } 16 SlotsUsed = 0; 16 17 // TODO: create framebuffers and windows to display them 17 18 // TODO: set up whatever other threads / systems … … 39 40 continue; 40 41 } 42 SlotsUsed++; 41 43 line = rawline; 42 44 BString temp; … … 114 116 } 115 117 118 App::~App() 119 { 120 for (int a = 0; a < SlotsUsed; a++) 121 { 122 for (int b = 0; b < Devices[a].HeadCount; b++) 123 { 124 delete Devices[a].Heads[b].Resolutions; 125 } 126 delete Devices[a].Heads; 127 } 128 } 129 116 130 status_t 117 131 App::Status() -
src/fake_app_server/App.h
r18 r20 48 48 class App : public BApplication { 49 49 public: 50 App(void); 50 App(); 51 ~App(); 51 52 status_t Status(); 52 53 … … 55 56 Device Devices[MAX_SLOTS]; 56 57 status_t status; 58 uint32 SlotsUsed; 57 59 }; 58 60
Note: See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](http://pulkomandy.lexinfo.fr/projects/haiku3daccel/export/24/Main/artwork/Drafter%20Logo.png)