changed iostreams to stdlib to fix linking problem under DEBUG=1
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4228 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
17e6de7a37
commit
fc6c18530a
@ -4,7 +4,7 @@
|
||||
#include <storage/Directory.h>
|
||||
#if DEBUG
|
||||
#include <interface/Input.h>
|
||||
#include <iostream.h>
|
||||
#include <stdio.h>
|
||||
#endif //DEBUG
|
||||
#include "KeymapWindow.h"
|
||||
#include "KeymapApplication.h"
|
||||
@ -65,7 +65,7 @@ BList* KeymapApplication::EntryList( char *directoryPath )
|
||||
#if DEBUG
|
||||
char name[B_FILE_NAME_LENGTH];
|
||||
currentEntry->GetName( name );
|
||||
cout << "Found: " << name << endl;
|
||||
printf("Found: %s\n",name);
|
||||
#endif //DEBUG
|
||||
}
|
||||
else {
|
||||
|
@ -8,15 +8,13 @@
|
||||
#include <interface/Alert.h>
|
||||
#include <interface/Box.h>
|
||||
#ifdef DEBUG
|
||||
#include <iostream.h>
|
||||
#include <stdio.h>
|
||||
#endif //DEBUG
|
||||
#include "KeymapWindow.h"
|
||||
#include "KeymapListItem.h"
|
||||
#include "KeymapApplication.h"
|
||||
#include "messages.h"
|
||||
|
||||
#include <iostream.h>
|
||||
|
||||
KeymapWindow::KeymapWindow( BRect frame )
|
||||
: BWindow( frame, WINDOW_TITLE, B_TITLED_WINDOW,
|
||||
B_NOT_ZOOMABLE|B_NOT_RESIZABLE|B_ASYNCHRONOUS_CONTROLS )
|
||||
@ -228,7 +226,7 @@ BList* KeymapWindow::ListItemsFromEntryList( BList * entryList)
|
||||
|
||||
#ifdef DEBUG
|
||||
currentEntry->GetName( name );
|
||||
cout << "New list item: " << name << endl;
|
||||
printf("New list item: %s\n",name);
|
||||
#endif //DEBUG
|
||||
}
|
||||
|
||||
@ -297,7 +295,7 @@ void KeymapWindow::MessageReceived( BMessage* message )
|
||||
void KeymapWindow::HandleSystemMapSelected( BMessage *selectionMessage )
|
||||
{
|
||||
#if DEBUG
|
||||
cout << "System map selected" << endl;
|
||||
printf("System map selected\n");
|
||||
#endif //DEBUG
|
||||
HandleMapSelected( selectionMessage, fSystemListView, fUserListView );
|
||||
}
|
||||
@ -305,7 +303,7 @@ void KeymapWindow::HandleSystemMapSelected( BMessage *selectionMessage )
|
||||
void KeymapWindow::HandleUserMapSelected( BMessage *selectionMessage )
|
||||
{
|
||||
#if DEBUG
|
||||
cout << "User map selected" << endl;
|
||||
printf("User map selected\n");
|
||||
#endif //DEBUG
|
||||
HandleMapSelected( selectionMessage, fUserListView, fSystemListView );
|
||||
}
|
||||
@ -320,7 +318,7 @@ void KeymapWindow::HandleMapSelected( BMessage *selectionMessage,
|
||||
index = selectedView->CurrentSelection( 0 );
|
||||
if( index < 0 ) {
|
||||
#if DEBUG
|
||||
cout << "index<0; HandleMapSelected ends here." << endl;
|
||||
printf("index<0; HandleMapSelected ends here.\n");
|
||||
|
||||
#endif //DEBUG
|
||||
return;
|
||||
@ -334,7 +332,7 @@ void KeymapWindow::HandleMapSelected( BMessage *selectionMessage,
|
||||
#if DEBUG
|
||||
char name[B_FILE_NAME_LENGTH];
|
||||
fSelectedMap->GetName( name );
|
||||
cout << "fSelectedMap has been set to " << name << endl;
|
||||
printf("fSelectedMap has been set to %s\n",name);
|
||||
#endif //DEBUG
|
||||
|
||||
// Deselect item in other BListView
|
||||
|
Loading…
x
Reference in New Issue
Block a user