bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Patch for XGServerEvent for easy override


From: Yen-Ju Chen
Subject: Patch for XGServerEvent for easy override
Date: Thu, 30 Oct 2003 15:32:12 -0500

Hi,

 This is a patch of XGServerEvent for easy override.
 It do nothing different, but just for easy override by others.

 Basically it split a method into two:

 - methodA {
   while() {
     doSomething.
   }
}

 becomes

 - methodA {
   while() {
     [self methodB];
   }
 }

 - methodB {
   doSomething;
 }

 The only drawback is that it call methodB a lot.
 But it comes from user input, which I think won't affect the speed.
 It is required by StepBox to use GNUstep facility,
 and may be used by other window manager if needed.

 Thanx a lot

 Yen-Ju

_________________________________________________________________
Cheer a special someone with a fun Halloween eCard from American Greetings! Go to http://www.msn.americangreetings.com/index_msn.pd?source=msne134

Attachment: XGServerEvent.tar.gz
Description: application/gzip-compressed


reply via email to

[Prev in Thread] Current Thread [Next in Thread]