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:
parent
5311273550
commit
62f29f2d9b
@ -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 ;
|
||||
|
15
src/tests/add-ons/input_server/Jamfile
Normal file
15
src/tests/add-ons/input_server/Jamfile
Normal 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 ] ;
|
24
src/tests/add-ons/input_server/TaskManagerTest.cpp
Normal file
24
src/tests/add-ons/input_server/TaskManagerTest.cpp
Normal 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();
|
||||
}
|
Loading…
Reference in New Issue
Block a user