Changeset 248
- Timestamp:
- Mar 10, 2007, 9:40:28 PM (18 years ago)
- Location:
- trunk/desktop
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/desktop/class_c/wpnotebook.c
r206 r248 16 16 * The Initial Developer of the Original Code is 17 17 * netlabs.org: Chris Wohlgemuth <cinc-ml@netlabs.org>. 18 * Portions created by the Initial Developer are Copyright (C) 2005-200 618 * Portions created by the Initial Developer are Copyright (C) 2005-2007 19 19 * the Initial Developer. All Rights Reserved. 20 20 * … … 53 53 #include "wpnotebook.ih" 54 54 55 NOM_Scope PNOMNoteBook NOMLINK impl_WPNoteBook_wpQueryNoteBook Object(WPNoteBook* nomSelf, CORBA_Environment *ev)55 NOM_Scope PNOMNoteBook NOMLINK impl_WPNoteBook_wpQueryNoteBook(WPNoteBook* nomSelf, CORBA_Environment *ev) 56 56 { 57 57 WPNoteBookData* nomThis=WPNoteBookGetData(nomSelf); … … 60 60 } 61 61 62 NOM_Scope void NOMLINK impl_WPNoteBook_wpSetNoteBook Object(WPNoteBook* nomSelf, const PNOMNoteBook nomNBook,62 NOM_Scope void NOMLINK impl_WPNoteBook_wpSetNoteBook(WPNoteBook* nomSelf, const PNOMNoteBook nomNBook, 63 63 CORBA_Environment *ev) 64 64 { … … 87 87 /* Create the notebook */ 88 88 nomNoteBook=NOMNoteBookNew(); 89 _wpSetNoteBook Object(nomSelf, nomNoteBook, ev);89 _wpSetNoteBook(nomSelf, nomNoteBook, ev); 90 90 91 91 gtk_container_add(GTK_CONTAINER(gtkWindow), NOMNoteBook_queryWindowHandle(nomNoteBook, ev)); -
trunk/desktop/class_c/wpobject.c
r245 r248 190 190 191 191 /* This is also in the use item */ 192 wpObject=WPNoteBook_wpQuery WPObject(wpWindow, NULLHANDLE);192 wpObject=WPNoteBook_wpQueryObject(wpWindow, NULLHANDLE); 193 193 194 194 g_return_val_if_fail(NULLHANDLE!=wpObject, FALSE); … … 233 233 } 234 234 wpNoteBook=WPNoteBookNew(); 235 WPNoteBook_wpSet WPObject(wpNoteBook, nomSelf, NULLHANDLE);235 WPNoteBook_wpSetObject(wpNoteBook, nomSelf, NULLHANDLE); 236 236 237 237 _wpAddSettingsPages(nomSelf, wpNoteBook, ev); … … 627 627 gtk_widget_show_all (vbox); 628 628 629 NOMNoteBook_prependPage(WPNoteBook_wpQueryNoteBook Object(wpNoteBook, ev), vbox, label, ev);629 NOMNoteBook_prependPage(WPNoteBook_wpQueryNoteBook(wpNoteBook, ev), vbox, label, ev); 630 630 631 631 return 1234; -
trunk/desktop/idl/m_wpdatafile.idl
r206 r248 16 16 * The Initial Developer of the Original Code is 17 17 * netlabs.org: Chris Wohlgemuth <cinc-ml@netlabs.org>. 18 * Portions created by the Initial Developer are Copyright (C) 2005-200 618 * Portions created by the Initial Developer are Copyright (C) 2005-2007 19 19 * the Initial Developer. All Rights Reserved. 20 20 * … … 32 32 * 33 33 * ***** END LICENSE BLOCK ***** */ 34 /** \file 35 Class definition file for M_WPDataFile class. 36 */ 37 34 38 #ifndef M_WPDATAFILE_IDL_INCLUDED 35 39 #define M_WPDATAFILE_IDL_INCLUDED … … 43 47 #include "nomstring.idl" 44 48 49 /** \interface M_WPDataFile 50 51 This class is the metaclass for the WPDataFile class. 52 */ 45 53 interface M_WPDataFile : M_WPFileSystem 46 54 { -
trunk/desktop/idl/m_wpfilesystem.idl
r206 r248 16 16 * The Initial Developer of the Original Code is 17 17 * netlabs.org: Chris Wohlgemuth <cinc-ml@netlabs.org>. 18 * Portions created by the Initial Developer are Copyright (C) 2005-200 618 * Portions created by the Initial Developer are Copyright (C) 2005-2007 19 19 * the Initial Developer. All Rights Reserved. 20 20 * … … 32 32 * 33 33 * ***** END LICENSE BLOCK ***** */ 34 /** \file 35 Class definition file for M_WPObject class. 36 */ 34 37 35 38 #ifndef M_WPFILESYSTEM_IDL_INCLUDED … … 44 47 #include "nomstring.idl" 45 48 49 /** \interface M_WPFileSystem 50 51 This class is the metaclass for the WPFileSystem class. 52 */ 46 53 interface M_WPFileSystem : M_WPObject 47 54 { 48 55 NOMCLASSVERSION(1, 0); 49 56 57 /** 58 Query the extensions for instances of this class. 59 */ 50 60 string wpclsQueryInstanceFilter(); 51 61 -
trunk/desktop/idl/m_wpfolder.idl
r206 r248 16 16 * The Initial Developer of the Original Code is 17 17 * netlabs.org: Chris Wohlgemuth <cinc-ml@netlabs.org>. 18 * Portions created by the Initial Developer are Copyright (C) 2005-200 618 * Portions created by the Initial Developer are Copyright (C) 2005-2007 19 19 * the Initial Developer. All Rights Reserved. 20 20 * … … 32 32 * 33 33 * ***** END LICENSE BLOCK ***** */ 34 /** \file 35 Class definition file for M_WPFolder class. 36 */ 37 34 38 #ifndef M_WPFOLDER_IDL_INCLUDED 35 39 #define M_WPFOLDER_IDL_INCLUDED … … 43 47 #include "nomstring.idl" 44 48 49 /** \interface M_WPFolder 45 50 51 This class is the metaclass for the WPFolder class. 52 */ 46 53 interface M_WPFolder : M_WPDataFile 47 54 { -
trunk/desktop/idl/m_wpobject.idl
r209 r248 16 16 * The Initial Developer of the Original Code is 17 17 * netlabs.org: Chris Wohlgemuth <cinc-ml@netlabs.org>. 18 * Portions created by the Initial Developer are Copyright (C) 2005-200 618 * Portions created by the Initial Developer are Copyright (C) 2005-2007 19 19 * the Initial Developer. All Rights Reserved. 20 20 * … … 32 32 * 33 33 * ***** END LICENSE BLOCK ***** */ 34 /** \file 35 Class definition file for M_WPObject class. 36 */ 34 37 35 38 #ifndef M_WPOBJECT_IDL_INCLUDED … … 43 46 #include "nomstring.idl" 44 47 48 /** \interface M_WPObject 49 50 This class is the metaclass for the WPObject class. 51 */ 45 52 interface M_WPObject : NOMClass 46 53 { … … 49 56 gpointer wpclsQueryIcon(); 50 57 boolean wpclsSetIcon(in gpointer pNewIcon); 58 59 /** 60 This method returns the class title for classes for which this is the metaclass. 61 */ 51 62 string wpclsQueryTitle(); 63 64 /** 65 Method to be overriden by metaclasses when they need to do some setup. 66 67 \remark Desktop metaclasses should override this method instead of nomInit(). 68 69 \par How to override: 70 This method should be overriden by classes which need initialization. The parent 71 must be called first. 72 73 \sa wpclsUnInitData() 74 */ 52 75 void wpclsInitData(); 76 77 /** 78 Method to be overriden by classes when they need to do some unititialization work. 79 80 \remark Desktop metaclasses should override this method instead of nomUnInit(). 81 82 \par How to override 83 This method should be overriden by classes which need uninitialization. The parent must 84 be called last. 85 86 \sa wpclsInitData() 87 */ 53 88 void wpclsUnInitData(); 54 89 -
trunk/desktop/idl/wpnotebook.idl
r189 r248 16 16 * The Initial Developer of the Original Code is 17 17 * netlabs.org: Chris Wohlgemuth <cinc-ml@netlabs.org>. 18 * Portions created by the Initial Developer are Copyright (C) 2005-200 618 * Portions created by the Initial Developer are Copyright (C) 2005-2007 19 19 * the Initial Developer. All Rights Reserved. 20 20 * … … 32 32 * 33 33 * ***** END LICENSE BLOCK ***** */ 34 34 /** \file 35 Class definition file for WPNoteBook class. 36 */ 35 37 #ifndef WPNOTEBOOK_IDL_INCLUDED 36 38 #define WPNOTEBOOK_IDL_INCLUDED … … 50 52 #include "nomnotebook.idl" 51 53 54 /** \interface WPNoteBook 55 56 This class implements settings notebooks for desktop objects. 57 58 Implementation is very preliminary. 59 */ 52 60 interface WPNoteBook : WPWindow 53 61 { 54 62 NOMCLASSVERSION(1, 0); 55 63 56 PNOMNoteBook wpQueryNoteBook Object();57 void wpSetNoteBook Object(in PNOMNoteBook nomNBook);64 PNOMNoteBook wpQueryNoteBook(); 65 void wpSetNoteBook(in PNOMNoteBook nomNBook); 58 66 59 67 NOMOVERRIDE(nomInit); -
trunk/desktop/idl/wpobject.idl
r245 r248 109 109 110 110 /** 111 Method to be overriden by objects when they need to do some setup.111 Method to be overriden by classes when they need to do some setup. 112 112 113 113 \remark Desktop classes should override this method instead of nomInit(). … … 122 122 123 123 /** 124 Method to be overriden by objects when they need to do some unititialization work.124 Method to be overriden by classes when they need to do some unititialization work. 125 125 126 126 \remark Desktop classes should override this method instead of nomUnInit().
Note:
See TracChangeset
for help on using the changeset viewer.