Changeset 189
- Timestamp:
- Jan 14, 2007, 10:21:52 AM (19 years ago)
- Location:
- trunk/desktop
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/desktop/class_c/wpfolder.c
r188 r189 65 65 #include "desktoptypes.h" 66 66 67 #ifndef WPFolder 68 typedef struct WPFolder_struct { 69 struct nomMethodTabStruct *mtab; 70 gulong body[1]; 71 } WPFolderObj; 72 #define WPFolder WPFolderObj 73 typedef WPFolder *PWPFolder; 74 #endif 75 67 #include "wpnotebook.h" 76 68 #include "wpfolderwindow.h" 77 78 69 #include "wpfolder.ih" 79 70 #include "wpdatafile.h" -
trunk/desktop/class_c/wpfolderwindow.c
r188 r189 47 47 #include "desktoptypes.h" 48 48 49 #ifndef WPFolder 50 typedef struct WPFolder_struct { 51 struct nomMethodTabStruct *mtab; 52 gulong body[1]; 53 } WPFolderObj; 54 #define WPFolder WPFolderObj 55 typedef WPFolder *PWPFolder; 56 #endif 57 49 #include "wpnotebook.h" 50 #include "wpfolderwindow.h" 51 #include "wpfolder.h" 58 52 #include "wpfolderwindow.ih" 53 #include "wpobject.h" 59 54 60 55 NOM_Scope PGtkWidget NOMLINK impl_WPFolderWindow_wpQueryContainerHandle(WPFolderWindow* nomSelf, CORBA_Environment *ev) -
trunk/desktop/class_c/wpnotebook.c
r178 r189 46 46 #include "desktoptypes.h" 47 47 48 #include "nomfolderwindow.h"49 48 #include "wpnotebook.ih" 50 49 -
trunk/desktop/class_c/wpobject.c
r188 r189 50 50 #include <nomguitk.h> 51 51 52 /* We have to declare this here to make PNOMFolderWindow known53 to wpDisplayMenu(). */54 #ifndef WPFolderWindow55 typedef struct WPFolderWindow_struct {56 struct nomMethodTabStruct *mtab;57 gulong body[1];58 } WPFolderWindowObj;59 #define WPFolderWindow WPFolderWindowObj60 typedef WPFolderWindow *PWPFolderWindow;61 #endif62 63 #ifndef WPFolder64 typedef struct WPFolder_struct {65 struct nomMethodTabStruct *mtab;66 gulong body[1];67 } WPFolderObj;68 #define WPFolder WPFolderObj69 typedef WPFolder *PWPFolder;70 #endif71 72 52 #include "nomwindow.h" 73 53 #include "desktoptypes.h" 74 54 55 #include "wpnotebook.h" 56 #include "wpfolderwindow.h" 57 #include "wpfolder.h" 75 58 #include "wpobject.ih" 76 #include "wpfolderwindow.h"77 #include "wpnotebook.h"78 79 59 80 60 -
trunk/desktop/class_c/wpwindow.c
r178 r189 46 46 #include <string.h> 47 47 48 #include "nomfolderwindow.h"49 48 #include "wpwindow.ih" 50 49 -
trunk/desktop/idl/wpfolder.idl
r188 r189 42 42 #include "wpfilesystem.idl" 43 43 #include "nomfilepath.idl" 44 /*#include "nomfolderwindow.idl"*/45 46 #ifndef WPFolderWindow_defined47 #define WPFolderWindow_defined48 native PWPFolderWindow;49 #endif50 51 //NOMCLASSNAME(WPFolder);52 44 53 45 interface WPFolder : WPFileSystem -
trunk/desktop/idl/wpnotebook.idl
r188 r189 47 47 NOMCLASSNAME(WPNoteBook); 48 48 49 //#include "wpobject.idl"50 49 #include "wpwindow.idl" 51 50 #include "nomnotebook.idl" … … 57 56 PNOMNoteBook wpQueryNoteBookObject(); 58 57 void wpSetNoteBookObject(in PNOMNoteBook nomNBook); 59 //void wpSetWPObject(in PWPObject wpObject);60 //PWPObject wpQueryWPObject();61 58 62 59 NOMOVERRIDE(nomInit); 63 60 64 61 NOMINSTANCEVAR(PNOMNoteBook nomNoteBook); 62 65 63 NOMINSTANCEVAR(PWPObject wpObject); 66 64 -
trunk/desktop/idl/wpobject.idl
r188 r189 33 33 * ***** END LICENSE BLOCK ***** */ 34 34 35 #ifndef wpobject_idl36 #define wpobject_idl35 #ifndef WPOBJECT_IDL_INCLUDED 36 #define WPOBJECT_IDL_INCLUDED 37 37 38 38 #include <nomobj.idl> … … 46 46 #include "nomwindow.idl" 47 47 48 #if 049 #ifndef WPFolderWindow_defined50 #define WPFolderWindow_defined51 native PWPFolderWindow;52 #endif53 #endif54 55 48 #ifndef WPFLDRWINDOW_IDL_INCLUDED 56 49 native PWPFolderWindow; 57 #endif58 59 #if 060 #ifndef WPFolder_defined61 #define WPFolder_defined62 native PWPFolder;63 #endif64 50 #endif 65 51 … … 68 54 #endif 69 55 70 #if 056 #if 1 71 57 #ifndef WPNOTEBOOK_IDL_INCLUDED 72 58 native PWPNoteBook; 73 59 #endif 60 #else 61 #include "wpnotebook.idl" 74 62 #endif 75 //NOMCLASSNAME(WPObject);76 77 #include "wpnotebook.idl"78 63 79 64 interface WPObject : NOMObject … … 142 127 }; 143 128 144 #endif 129 #endif /* WPOBJECT_IDL_INCLUDED */ 145 130 146 131 -
trunk/desktop/idl/wpwindow.idl
r178 r189 44 44 45 45 #include <nomobj.idl> 46 #include "nomwindow.idl" 46 47 47 48 NOMCLASSNAME(WPWindow); 48 49 50 #if 1 51 #ifndef WPOBJECT_IDL_INCLUDED 52 native PWPObject; 53 #endif 54 #else 49 55 #include "wpobject.idl" 56 #endif 50 57 51 58 interface WPWindow : NOMWindow
Note:
See TracChangeset
for help on using the changeset viewer.