Added test application for the task manager window.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13146 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2005-06-15 06:40:13 +00:00
parent 5311273550
commit 62f29f2d9b
3 changed files with 40 additions and 0 deletions

View File

@ -1,5 +1,6 @@
SubDir OBOS_TOP src tests add-ons ;
SubInclude OBOS_TOP src tests add-ons input_server ;
SubInclude OBOS_TOP src tests add-ons kernel ;
SubInclude OBOS_TOP src tests add-ons media ;
SubInclude OBOS_TOP src tests add-ons print ;

View File

@ -0,0 +1,15 @@
SubDir OBOS_TOP src tests add-ons input ;
SubDirHdrs $(OBOS_TOP) src add-ons input_server devices keyboard ;
UsePrivateHeaders input ;
SimpleTest TaskManagerTest :
TaskManagerTest.cpp
TMWindow.cpp
TMListItem.cpp
: be
;
SEARCH on [ FGristFiles
TMWindow.cpp TMListItem.cpp
] = [ FDirName $(OBOS_TOP) src add-ons input_server devices keyboard ] ;

View File

@ -0,0 +1,24 @@
/*
* Copyright 2005, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#include <Application.h>
#include "TMWindow.h"
#include <stdio.h>
#include <stdlib.h>
int
main()
{
BApplication app("application/x-vnd.tmwindow-test");
TMWindow *window = new TMWindow();
window->Enable();
// we don't even quit when the window is closed...
app.Run();
}