Add User script task

This commit is contained in:
Gregory John Casamento 2019-09-26 02:19:24 -04:00
parent 81a82f8400
commit dceeaa37f2
3 changed files with 79 additions and 18 deletions

View file

@ -21,15 +21,6 @@ Missing headers:
<NSLinguisticTagger.h>
<NSObjectScripting.h>
<NSOrthography.h>
<NSScriptClassDescription.h>
<NSScriptCoercionHandler.h>
<NSScriptCommand.h>
<NSScriptCommandDescription.h>
<NSScriptExecutionContext.h>
<NSScriptKeyValueCoding.h>
<NSScriptObjectSpecifiers.h>
<NSScriptStandardSuiteCommands.h>
<NSScriptSuiteRegistry.h>>
<NSUserScriptTask.h>
<NSXPCConnection.h>
-------------------------------------------------------------
@ -41,15 +32,6 @@ Foundation:
<NSAppleScript.h>
<NSHFSFileTypes.h>
<NSObjectScripting.h>
<NSScriptClassDescription.h>
<NSScriptCoercionHandler.h>
<NSScriptCommand.h>
<NSScriptCommandDescription.h>
<NSScriptExecutionContext.h>
<NSScriptKeyValueCoding.h>
<NSScriptObjectSpecifiers.h>
<NSScriptStandardSuiteCommands.h>
<NSScriptSuiteRegistry.h>
<NSUserScriptTask.h>
<NSXPCConnection.h>
-------------------------------------------------------------

View file

@ -0,0 +1,48 @@
/* Definition of class NSUserScriptTask
Copyright (C) 2019 Free Software Foundation, Inc.
By: Gregory John Casamento <greg.casamento@gmail.com>
Date: Sep 2019
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02111 USA.
*/
#ifndef _NSUserScriptTask_h_GNUSTEP_BASE_INCLUDE
#define _NSUserScriptTask_h_GNUSTEP_BASE_INCLUDE
#include <Foundation/NSObject.h>
#if defined(__cplusplus)
extern "C" {
#endif
#if OS_API_VERSION(MAC_OS_X_VERSION_10_0, GS_API_LATEST)
@interface NSUserScriptTask : NSObject
@end
#if defined(__cplusplus)
}
#endif
#endif /* GS_API_MACOSX */
#endif /* _NSUserScriptTask_h_GNUSTEP_BASE_INCLUDE */

31
Source/NSUserScriptTask.m Normal file
View file

@ -0,0 +1,31 @@
/* Implementation of class NSUserScriptTask
Copyright (C) 2019 Free Software Foundation, Inc.
By: Gregory John Casamento <greg.casamento@gmail.com>
Date: Sep 2019
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02111 USA.
*/
#include <Foundation/NSUserScriptTask.h>
@implementation NSUserScriptTask
@end