home *** CD-ROM | disk | FTP | other *** search
- #include <stdlib.h>
- #include <string.h>
- #include <time.h>
- #include <stdio.h>
- #include <math.h>
-
-
- #include "Desklib:Error.h"
- #include "Desklib:WimpSWIs.h"
-
-
- #include "Shell.RectSave.h"
- #include "Shell.Printf.h"
- #include "Shell.BarIcon.h"
-
- #include "Structs.h"
- #include "ScanPipeFS.h"
-
-
- static apps_anchorblock apps;
-
-
-
-
-
-
-
-
- int main()
- {
- Shell_Init( "HeapDisplay", "HeapDisplay");
- Shell_AddBarIcon( "application");
- Shell_InitRectSave( "SaveAs", 3, 0, 1, 2);
-
- Shell_Printf( "Waiting for debug data...\n");
- LinkList_Init( &apps.anchor);
-
- for(;;) {
- Shell_PollSlow();
- ScanPipeFS( "Pipe:$.C_Debug", &apps);
- }
-
- return 0;
- }
-