Author: mlytwyn
Date: Thu Mar 26 20:52:49 2015
New Revision: 38435
URL: http://svn.gna.org/viewcvs/gnustep?rev=38435&view=rev
Log:
Add gui/backend support for checking running service - windows only
Modified:
libs/gui/branches/gnustep_testplant_branch/Headers/Additions/GNUstepGUI/GSDisplayServer.h
libs/gui/branches/gnustep_testplant_branch/Source/GSDisplayServer.m
Modified:
libs/gui/branches/gnustep_testplant_branch/Headers/Additions/GNUstepGUI/GSDisplayServer.h
URL:
http://svn.gna.org/viewcvs/gnustep/libs/gui/branches/gnustep_testplant_branch/Headers/Additions/GNUstepGUI/GSDisplayServer.h?rev=38435&r1=38434&r2=38435&view=diff
==============================================================================
---
libs/gui/branches/gnustep_testplant_branch/Headers/Additions/GNUstepGUI/GSDisplayServer.h
(original)
+++
libs/gui/branches/gnustep_testplant_branch/Headers/Additions/GNUstepGUI/GSDisplayServer.h
Thu Mar 26 20:52:49 2015
@@ -180,6 +180,16 @@
@end
/* ----------------------------------------------------------------------- */
+/* GNUstep Window operations */
+/* ----------------------------------------------------------------------- */
+@interface GSDisplayServer (ServiceOps)
+- (BOOL) isServiceInstalled: (NSString*)serviceName;
+- (BOOL) isServiceRunning: (NSString*)serviceName;
+- (BOOL) isDiscoveryServiceInstalled;
+- (BOOL) isDiscoveryServiceRunning;
+@end
+
+/* ----------------------------------------------------------------------- */
/* GNUstep Event Operations */
/* ----------------------------------------------------------------------- */
@interface GSDisplayServer (EventOps)
Modified: libs/gui/branches/gnustep_testplant_branch/Source/GSDisplayServer.m
URL:
http://svn.gna.org/viewcvs/gnustep/libs/gui/branches/gnustep_testplant_branch/Source/GSDisplayServer.m?rev=38435&r1=38434&r2=38435&view=diff
==============================================================================
--- libs/gui/branches/gnustep_testplant_branch/Source/GSDisplayServer.m
(original)
+++ libs/gui/branches/gnustep_testplant_branch/Source/GSDisplayServer.m Thu Mar
26 20:52:49 2015
@@ -952,6 +952,35 @@
@end
/* ----------------------------------------------------------------------- */
+/* GNUstep Service Operations */
+/* ----------------------------------------------------------------------- */
+@implementation GSDisplayServer (ServiceOps)
+- (BOOL) isServiceInstalled: (NSString*)serviceName
+{
+ [self subclassResponsibility: _cmd];
+ return NO;
+}
+
+- (BOOL) isServiceRunning: (NSString*)serviceName
+{
+ [self subclassResponsibility: _cmd];
+ return NO;
+}
+
+- (BOOL) isDiscoveryServiceInstalled
+{
+ [self subclassResponsibility: _cmd];
+ return NO;
+}
+
+- (BOOL) isDiscoveryServiceRunning
+{
+ [self subclassResponsibility: _cmd];
+ return NO;
+}
+@end
+
+/* ----------------------------------------------------------------------- */
/* GNUstep Event Operations */
/* ----------------------------------------------------------------------- */
@implementation GSDisplayServer (EventOps)
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs