From 85552db43e8b0e25186b7593695170d26a9e3434 Mon Sep 17 00:00:00 2001 From: Gregory John Casamento Date: Fri, 27 Dec 2024 04:02:24 -0500 Subject: [PATCH] Add OCProperty --- GormCore/GNUmakefile | 2 ++ GormCore/GormObjectMainView.h | 2 +- GormObjCHeaderParser/OCProperty.h | 45 +++++++++++++++++++++++++++++++ GormObjCHeaderParser/OCProperty.m | 30 +++++++++++++++++++++ 4 files changed, 78 insertions(+), 1 deletion(-) create mode 100644 GormObjCHeaderParser/OCProperty.h create mode 100644 GormObjCHeaderParser/OCProperty.m diff --git a/GormCore/GNUmakefile b/GormCore/GNUmakefile index abf78b5a..5abbafed 100644 --- a/GormCore/GNUmakefile +++ b/GormCore/GNUmakefile @@ -71,6 +71,7 @@ GormCore_HEADER_FILES = \ GormObjectInspector.h \ GormObjectMainView.h \ GormObjectOutlineView.h \ + GormObjectViewController.h \ GormOpenGLView.h \ GormOutlineView.h \ GormPalettesManager.h \ @@ -152,6 +153,7 @@ GormCore_OBJC_FILES = \ GormObjectInspector.m \ GormObjectMainView.m \ GormObjectOutlineView.m \ + GormObjectViewController.m \ GormOpenGLView.m \ GormOutlineView.m \ GormPalettesManager.m \ diff --git a/GormCore/GormObjectMainView.h b/GormCore/GormObjectMainView.h index d9876a73..acf2c7ab 100644 --- a/GormCore/GormObjectMainView.h +++ b/GormCore/GormObjectMainView.h @@ -25,7 +25,7 @@ #ifndef _GormObjectMainView_h_INCLUDE #define _GormObjectMainView_h_INCLUDE -#import +#import #import #if defined(__cplusplus) diff --git a/GormObjCHeaderParser/OCProperty.h b/GormObjCHeaderParser/OCProperty.h new file mode 100644 index 00000000..b748a3de --- /dev/null +++ b/GormObjCHeaderParser/OCProperty.h @@ -0,0 +1,45 @@ +/* Definition of class OCProperty + Copyright (C) 2024 Free Software Foundation, Inc. + + By: Gregory John Casamento + Date: 27-12-2024 + + This file is part of GNUstep. + + 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.1 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 + Lesser 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 02110 USA. +*/ + +#ifndef _OCProperty_h_INCLUDE +#define _OCProperty_h_INCLUDE + +#import "OCIVar.h" +#import + +#if defined(__cplusplus) +extern "C" { +#endif + +GS_EXPORT_CLASS +@interface OCProperty : OCIVar + +@end + +#if defined(__cplusplus) +} +#endif + +#endif /* _OCProperty_h_INCLUDE */ + diff --git a/GormObjCHeaderParser/OCProperty.m b/GormObjCHeaderParser/OCProperty.m new file mode 100644 index 00000000..58c6d73c --- /dev/null +++ b/GormObjCHeaderParser/OCProperty.m @@ -0,0 +1,30 @@ +/* Implementation of class OCProperty + Copyright (C) 2024 Free Software Foundation, Inc. + + By: Gregory John Casamento + Date: 27-12-2024 + + This file is part of GNUstep. + + 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.1 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 + Lesser 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 02110 USA. +*/ + +#import "OCProperty.h" + +@implementation OCProperty + +@end +