Author: rmottola
Date: Sun May 22 21:39:04 2016
New Revision: 39797

URL: http://svn.gna.org/viewcvs/gnustep?rev=39797&view=rev
Log:
Comply to protocol

Modified:
    apps/projectcenter/trunk/ChangeLog
    apps/projectcenter/trunk/Modules/Editors/ProjectCenter/PCEditorView.h
    apps/projectcenter/trunk/Modules/Editors/ProjectCenter/PCEditorView.m

Modified: apps/projectcenter/trunk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/apps/projectcenter/trunk/ChangeLog?rev=39797&r1=39796&r2=39797&view=diff
==============================================================================
--- apps/projectcenter/trunk/ChangeLog  (original)
+++ apps/projectcenter/trunk/ChangeLog  Sun May 22 21:39:04 2016
@@ -1,3 +1,9 @@
+2016-05-22 Riccardo Mottola <[email protected]>
+
+       * Modules/Editors/ProjectCenter/PCEditorView.h
+       * Modules/Editors/ProjectCenter/PCEditorView.m
+       Comply to protocol.
+
 2016-05-15 Riccardo Mottola <[email protected]>
 
        * Modules/Debuggers/ProjectCenter/PCDebugger.m

Modified: apps/projectcenter/trunk/Modules/Editors/ProjectCenter/PCEditorView.h
URL: 
http://svn.gna.org/viewcvs/gnustep/apps/projectcenter/trunk/Modules/Editors/ProjectCenter/PCEditorView.h?rev=39797&r1=39796&r2=39797&view=diff
==============================================================================
--- apps/projectcenter/trunk/Modules/Editors/ProjectCenter/PCEditorView.h       
(original)
+++ apps/projectcenter/trunk/Modules/Editors/ProjectCenter/PCEditorView.h       
Sun May 22 21:39:04 2016
@@ -4,7 +4,7 @@
     Interface declaration of the EditorTextView class for the
     ProjectManager application.
 
-    Copyright (C) 2005-2014 Free Software Foundation
+    Copyright (C) 2005-2016 Free Software Foundation
       Saso Kiselkov
       Riccardo Mottola
 
@@ -42,7 +42,7 @@
 + (NSFont *)defaultEditorItalicFont;
 + (NSFont *)defaultEditorBoldItalicFont;
 
-- (void)setEditor:(PCEditor *)anEditor;
+- (void)setEditor:(NSObject <CodeEditor> *)anEditor;
 
 - (void)createSyntaxHighlighterForFileType:(NSString *)fileType;
 

Modified: apps/projectcenter/trunk/Modules/Editors/ProjectCenter/PCEditorView.m
URL: 
http://svn.gna.org/viewcvs/gnustep/apps/projectcenter/trunk/Modules/Editors/ProjectCenter/PCEditorView.m?rev=39797&r1=39796&r2=39797&view=diff
==============================================================================
--- apps/projectcenter/trunk/Modules/Editors/ProjectCenter/PCEditorView.m       
(original)
+++ apps/projectcenter/trunk/Modules/Editors/ProjectCenter/PCEditorView.m       
Sun May 22 21:39:04 2016
@@ -4,7 +4,7 @@
     Implementation of the PCEditorView class for the
     ProjectManager application.
 
-    Copyright (C) 2005-2014 Free Software Foundation
+    Copyright (C) 2005-2016 Free Software Foundation
       Saso Kiselkov
       Serg Stoyan
       Riccardo Mottola
@@ -429,12 +429,12 @@
   [super dealloc];
 }
 
-- (void)setEditor:(PCEditor *)anEditor
-{
-  editor = anEditor;
-}
-
-- (PCEditor *)editor
+- (void)setEditor:(NSObject <CodeEditor> *)anEditor
+{
+  editor = (PCEditor *)anEditor;
+}
+
+- (NSObject <CodeEditor> *)editor
 {
   return editor;
 }


_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to