Changeset 183 for trunk/desktop/class_c/wpobject.c
- Timestamp:
- Jan 7, 2007, 10:36:52 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/desktop/class_c/wpobject.c
r176 r183 61 61 #endif 62 62 63 #ifndef WPFolder 64 typedef struct WPFolder_struct { 65 struct nomMethodTabStruct *mtab; 66 gulong body[1]; 67 } WPFolderObj; 68 #define WPFolder WPFolderObj 69 typedef WPFolder *PWPFolder; 70 #endif 71 63 72 #include "nomwindow.h" 64 73 #include "desktoptypes.h" … … 186 195 187 196 g_return_val_if_fail(NULLHANDLE!=wpObject, FALSE); 197 198 WPObject_wpSaveDeferred(wpObject, NULLHANDLE); 188 199 189 200 WPObject_wpDeleteFromObjUseList(wpObject, pUseItem, NULLHANDLE); … … 445 456 446 457 /* Create a new title */ 447 NOMString_assign String(tmpString, pnomStrNewTitle, ev);458 NOMString_assign(tmpString, pnomStrNewTitle, ev); 448 459 449 460 /* It may happen that someone changed the title from another thread. We may either … … 472 483 tmpPtr=g_atomic_pointer_get(&_pnomStringTitle); 473 484 474 return NOMString_copy String(tmpPtr, ev);485 return NOMString_copy(tmpPtr, ev); 475 486 } 476 487 … … 656 667 } 657 668 658 659 660 669 NOM_Scope CORBA_boolean NOMLINK impl_WPObject_wpSaveDeferred(WPObject* nomSelf, CORBA_Environment *ev) 670 { 671 /* WPObjectData* nomThis=WPObjectGetData(nomSelf); */ 672 673 g_message("%s not implemented", __FUNCTION__); 674 675 return TRUE; 676 } 677 678 NOM_Scope CORBA_boolean NOMLINK impl_WPObject_wpSaveImmediate(WPObject* nomSelf, CORBA_Environment *ev) 679 { 680 /* WPObjectData* nomThis=WPObjectGetData(nomSelf); */ 681 682 g_message("%s not implemented", __FUNCTION__); 683 684 return TRUE; 685 } 686 687 NOM_Scope void NOMLINK impl_WPObject_wpSetFolder(WPObject* nomSelf, const PWPFolder wpParentFolder, 688 CORBA_Environment *ev) 689 { 690 WPObjectData* nomThis=WPObjectGetData(nomSelf); 691 692 _wpParentFldr=wpParentFolder; 693 } 694 695 NOM_Scope PWPFolder NOMLINK impl_WPObject_wpQueryFolder(WPObject* nomSelf, CORBA_Environment *ev) 696 { 697 WPObjectData* nomThis=WPObjectGetData(nomSelf); 698 699 return _wpParentFldr; 700 } 701
Note:
See TracChangeset
for help on using the changeset viewer.