2001-12-17 16:51:51 +00:00
|
|
|
/** <title>NSInputServer</title> -*-objc-*-
|
2001-08-18 15:17:49 +00:00
|
|
|
|
|
|
|
Copyright (C) 2001 Free Software Foundation, Inc.
|
|
|
|
|
2001-12-17 16:51:51 +00:00
|
|
|
Author: Fred Kiefer <FredKiefer@gmx.de>
|
2001-08-18 15:17:49 +00:00
|
|
|
Date: August 2001
|
|
|
|
|
|
|
|
This file is part of the GNUstep GUI Library.
|
|
|
|
|
|
|
|
This library is free software; you can redistribute it and/or
|
2007-10-29 21:16:17 +00:00
|
|
|
modify it under the terms of the GNU Lesser General Public
|
2001-08-18 15:17:49 +00:00
|
|
|
License as published by the Free Software Foundation; either
|
2008-06-10 04:01:49 +00:00
|
|
|
version 2 of the License, or (at your option) any later version.
|
2007-10-29 21:16:17 +00:00
|
|
|
|
2001-08-18 15:17:49 +00:00
|
|
|
This library is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
2007-10-29 21:16:17 +00:00
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
Lesser General Public License for more details.
|
2001-08-18 15:17:49 +00:00
|
|
|
|
2007-10-29 21:16:17 +00:00
|
|
|
You should have received a copy of the GNU Lesser General Public
|
2001-08-18 15:17:49 +00:00
|
|
|
License along with this library; see the file COPYING.LIB.
|
2007-10-29 21:16:17 +00:00
|
|
|
If not, see <http://www.gnu.org/licenses/> or write to the
|
|
|
|
Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
|
|
|
Boston, MA 02110-1301, USA.
|
2001-08-18 15:17:49 +00:00
|
|
|
*/
|
|
|
|
|
2011-03-04 11:33:22 +00:00
|
|
|
#import "AppKit/NSInputServer.h"
|
2001-08-18 15:17:49 +00:00
|
|
|
|
|
|
|
@implementation NSInputServer
|
|
|
|
|
|
|
|
- (id) initWithDelegate: (id)aDelegate
|
|
|
|
name: (NSString *)name
|
|
|
|
{
|
|
|
|
return nil;
|
|
|
|
}
|
|
|
|
|
|
|
|
// NSInputServerMouseTracker protocol
|
|
|
|
- (BOOL) mouseDownOnCharacterIndex: (unsigned)index
|
|
|
|
atCoordinate: (NSPoint)point
|
|
|
|
withModifier: (unsigned int)flags
|
|
|
|
client: (id)sender
|
|
|
|
{
|
|
|
|
return NO;
|
|
|
|
}
|
|
|
|
|
|
|
|
- (BOOL) mouseDraggedOnCharacterIndex: (unsigned)index
|
|
|
|
atCoordinate: (NSPoint)point
|
|
|
|
withModifier: (unsigned int)flags
|
|
|
|
client: (id)sender
|
|
|
|
{
|
|
|
|
return NO;
|
|
|
|
}
|
|
|
|
|
|
|
|
- (void) mouseUpOnCharacterIndex: (unsigned)index
|
|
|
|
atCoordinate: (NSPoint)point
|
|
|
|
withModifier: (unsigned int)flags
|
|
|
|
client: (id)sender
|
|
|
|
{}
|
|
|
|
|
|
|
|
// NSInputServiceProvider protocol
|
|
|
|
- (void) activeConversationChanged: (id)sender
|
|
|
|
toNewConversation: (long)newConversation
|
|
|
|
{}
|
|
|
|
|
|
|
|
- (void) activeConversationWillChange: (id)sender
|
|
|
|
fromOldConversation: (long)oldConversation
|
|
|
|
{}
|
|
|
|
|
|
|
|
- (BOOL) canBeDisabled
|
|
|
|
{
|
|
|
|
return NO;
|
|
|
|
}
|
|
|
|
|
|
|
|
- (void) doCommandBySelector: (SEL)aSelector
|
|
|
|
client: (id)sender
|
|
|
|
{}
|
|
|
|
|
|
|
|
- (void) inputClientBecomeActive: (id)sender
|
|
|
|
{}
|
|
|
|
|
|
|
|
- (void) inputClientDisabled: (id)sender
|
|
|
|
{}
|
|
|
|
|
|
|
|
- (void) inputClientEnabled: (id)sender
|
|
|
|
{}
|
|
|
|
|
|
|
|
- (void) inputClientResignActive: (id)sender
|
|
|
|
{}
|
|
|
|
|
|
|
|
- (void) insertText: (id)aString
|
|
|
|
client: (id)sender
|
|
|
|
{}
|
|
|
|
|
|
|
|
- (void) markedTextAbandoned: (id)sender
|
|
|
|
{}
|
|
|
|
|
|
|
|
- (void) markedTextSelectionChanged: (NSRange)newSelection
|
|
|
|
client: (id)sender
|
|
|
|
{}
|
|
|
|
|
|
|
|
- (void) terminate: (id)sender
|
|
|
|
{}
|
|
|
|
|
|
|
|
- (BOOL) wantsToDelayTextChangeNotifications
|
|
|
|
{
|
|
|
|
return NO;
|
|
|
|
}
|
|
|
|
|
|
|
|
- (BOOL) wantsToHandleMouseEvents
|
|
|
|
{
|
|
|
|
return NO;
|
|
|
|
}
|
|
|
|
|
|
|
|
- (BOOL) wantsToInterpretAllKeystrokes
|
|
|
|
{
|
|
|
|
return NO;
|
|
|
|
}
|
|
|
|
|
|
|
|
@end
|