New backend access methods

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6489 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 2000-04-20 22:17:42 +00:00
parent c604091e89
commit b734a85d04
8 changed files with 90 additions and 28 deletions

View file

@ -829,6 +829,11 @@ NSGraphicsContext *GSCurrentContext()
methodTable.DPSsetinputstate__ =
GET_IMP(@selector(DPSsetinputstate::));
methodTable.DPScurrentserverdevice_ =
GET_IMP(@selector(DPScurrentserverdevice:));
methodTable.DPScurrentwindowdevice__ =
GET_IMP(@selector(DPScurrentwindowdevice::));
mptr = NSZoneMalloc(_globalGSZone, sizeof(gsMethodTable));
memcpy(mptr, &methodTable, sizeof(gsMethodTable));
return mptr;
@ -2283,4 +2288,15 @@ NSGraphicsContext *GSCurrentContext()
{
[self subclassResponsibility: _cmd];
}
- (void) DPScurrentserverdevice: (void **)serverptr
{
[self subclassResponsibility: _cmd];
}
- (void) DPScurrentwindowdevice: (int)win : (void **)windowptr
{
[self subclassResponsibility: _cmd];
}
@end