=================================================================== RCS file: /home/cvs/OpenXM/src/cfep/MyEnvironment.m,v retrieving revision 1.3 retrieving revision 1.4 diff -u -p -r1.3 -r1.4 --- OpenXM/src/cfep/MyEnvironment.m 2007/10/07 06:04:55 1.3 +++ OpenXM/src/cfep/MyEnvironment.m 2016/09/30 04:41:07 1.4 @@ -170,6 +170,9 @@ [super dealloc]; } +(int) checkX { + return 1; + // I need a sample code for runningApplications. 2016.09.30 + /* NSEnumerator *apps = [[[NSWorkspace sharedWorkspace] launchedApplications] objectEnumerator ]; NSDictionary *dicApp; while (dicApp = [apps nextObject]) { @@ -180,6 +183,7 @@ } NSLog(@"X11 is NOT running.\n"); return 0; + */ } -(void) showForDebug { NSLog(@"OpenXM_HOME=%@\n",OpenXM_HOME);